vue-3-options-preset
v1.3.2
Published
Simple preset using options API and SCSS for Vite and Vue 3
Downloads
14
Maintainers
Readme
Vite + Vue 3 Options API preset
This package update the default Vite + Vue 3 scaffolding installation:
- replacing the use of the Composition API with the Options API
- replacing style.css with styles/general.scss
- adding SASS dependency
- optional: adding Bootstrap dependencies
Installation
To install this package, run the following command in the terminal:
npm install --save-dev vue-3-options-preset
Usage
After the installation, run the following command:
npx preset-options-api
To add Bootstrap along all the other options, add -b
at the end of the command:
npx preset-options-api -b
As last step run both:
npm i
npm run dev
NOTE
Use this package only on new projects, right after Vite finished the scaffolding process!
Credits
Badges from shields.io