Vue CLI 4 app for Vue Mastery unit testing course
Notes in br3ndonland/vue-mastery-notes
npm install
npm run serve
npm run build
npm run test:unit
npm run lint
npm run fix
Configuration settings used initially:
Vue CLI v4.3.0
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, Linter, Unit
? Use history mode for router? (Requires proper server setup for index fallback in production) Yes
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save, Lint and fix on commit
? Pick a unit testing solution: Jest
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? (y/N) N
When Prettier is selected, Vue CLI also includes ESLint, which is unnecessary. Some additional configuration is needed to remove ESLint. See commit c1889ec
for details on removal of ESLint.