npm install -g @vue/cli
vue create project-name
Manually select features:
- Babel
- Router
- Vuex
- Linter / Formatter
- Unit Testing
Use history mode for router? Y
- ESLint with error prevention only
- Lint on save
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? N
cd project-name
vue add tailwind
npm install --save-dev autoprefixer @tailwindcss/custom-forms
npm install --save vuelidate firebase
module.exports = {
plugins: {
tailwindcss: {},
'vue-cli-plugin-tailwind/purgecss': {},
autoprefixer: {},
}
};
plugins: [
require('@tailwindcss/custom-forms'),
]