Top "Vue-cli" questions

Vue CLI is the official tooling for bootstrapping and maintaining your Vue projects.

Vue CLI CSS pre-processor option: dart-sass VS node-sass?

When creating a new project with CLI (v3.7.0), there is an option to choose between dart-sass or node-sass compiler. How …

vue.js webpack sass vue-cli node-sass
vue cli 3 – use background image in style tag

I want to use a svg image from my assets folder in one of my components as a background-image. Here …

css vue.js vue-cli
What is the difference between the views and components folders in a Vue project?

I just used the command line (CLI) to initialize a Vue.js project. The CLI created a src/components and …

vue.js vuejs2 vue-cli vue-cli-3 vue-cli-4
How can I remove vue cli 2?

I want to create a vue project with @vue/cli . As you know vue/cli update to version 3. Document says …

vue.js terminal vue-cli
Adding Routing to a Vue.js cli 3.0 app

The new Vue.js 3.0 plugin architecture is nice, but it seems to to be missing a router plugin. If I …

vue.js vue-router vue-cli
How to run production site after build vue cli

I'm using VueCLI 2 and build as production. THe build.js is built and compiled into 200KB. When I re-run the …

node.js vuejs2 production-environment vue-cli
How to update snapshot with Jest and vue-cli

I should be able to add -u parameter when running my tests, but I can't figure out why it doesn't …

javascript vue.js jestjs snapshot vue-cli
use axios globally in all my components vue

I am testing with axios within a Vue application and the CLI. I've been using vue-resource and I could access …

vue.js axios vue-cli
Vue-cli 3 Environment Variables all undefined

I've tried all of the solutions out there but none seem to work for me. I just want to store …

vue.js vuejs2 environment-variables vue-cli vue-cli-3
How to break the js files into chunks in vue cli 3 with webpack performance object?

I have done a project using vue cli v3. After building the project I saw 2 warnings i.e. warning asset …

webpack vue.js vue-cli