Browse Source

Add note in main.js about the alias for importing the standalone build

pull/13/head
Thorsten 9 years ago
parent
commit
ee59137911
  1. 6
      template/src/main.js

6
template/src/main.js

@ -1,3 +1,9 @@
{{#if_eq build "standalone"}}
// The following line loads the standalone build of Vue instead of the runtime-only build,
// so you don't have to do: import Vue from 'vue/dist/vue'
// (also, loading Vue standalone this way breaks vueify, so don't do it)
// This is done with the traonsform "aliasify". For the config, see package.json
{{/if_eq}}
import Vue from 'vue'
import App from './App.vue'

Loading…
Cancel
Save