From ee591379117815b53bf9bfe213dabe4989fedffb Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 11 Sep 2016 22:18:23 +0200 Subject: [PATCH] Add note in main.js about the alias for importing the standalone build --- template/src/main.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/template/src/main.js b/template/src/main.js index 39a4ea9..f760788 100644 --- a/template/src/main.js +++ b/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'