Vue JS CLI - How to Change Build Mode
Vue JS CLI – How to Change Build Mode
If you use Vue CLI, a default build mode does not include compiler, which mean your component’s template has to be rendered (in main.js). To pre-compile component’s template, change Vue build mode to full build (include compiler), see here.
Follow this steps to change build:
Add “vue.config.js” to root folder.
In the config file, add following configuration:
module.exports = { runtimeCompiler:…
View On WordPress













