的WebPack安可配置,我有以下错误,当我从symfony中提供了一个基本的symfony应用程序与VueJS和包的WebPack安可加载页面为VueJS
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
所以我需要改变的别名VueJS into webpack with this:
resolve: {
alias: {
vue: 'vue/dist/vue.js'
}
}
但是我没有找到任何东西进入Webpack Encore来改变这个设置。
的WebPack喝采:http://symfony.com/doc/current/frontend.html
是的,你能解释一下它是如何工作的? – Dayze
我添加了一个解释(我不知道自己是如何工作的)。 – Cobaltway