I have the following error when I load a page from a basic symfony App with VueJS and the bundle Webpack encore provided by symfony
[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.
So I need to change the alias of VueJS into webpack with this :
resolve: {
alias: {
vue: 'vue/dist/vue.js'
}
}
But I didn't find anything into Webpack Encore to change this settings.
Webpack Encore : http://symfony.com/doc/current/frontend.html