This starter template also includes:
npm install
npm run dev
npm run build
npm run serve
yarn:yarn
yarn dev
yarn build
yarn serve
ref & reactive
(ref for String, Number, Array, Boolean, Symbol
|| reactive for Object
)vite.config.js
, its contain some feature options good.
```
// Declare the path "@" instead of "/src"
alias: [{find: "@", replacement: path.resolve(__dirname, '/src')}// Declare the path of variable source to use variable in style tag in components
css: {
preprocessorOptions: {
scss: {
additionalData: @import "./src/assets/stylesheets/_variables";
}
}
},
//
```
Auto import components
instead of declare in each files: https://github.com/antfu/vite-plugin-componentsFetch instead of Axios
https://fetch.spec.whatwg.org/ Google Maps JavaScript API
& Google Maps Geocoding API
& Google Maps Places API
free trail 3 months.Deploy Netlify
& Virtual bypass CORS: Heroku
https://github.com/Rob--W/cors-anywhere