Vite + Tailwind 3 + Handlebars + Vue 3 SFC + Netlify Deployment + Mockoon
Demo: https://vite-static-starter.netlify.app
Speed up your development with a complete and scalable super simple vite based build system that scaffolds the project for you. Just focus on your code. Provides a consumable mock API to build real world front ends pre-integration.
- Clone this repository
- Run
npm install
Task Name | Description | Environment | |
---|---|---|---|
🚧 | npm run dev |
Compile dev build, start the server and fake API and watch for changes | Development |
🏭 | npm run build |
Compile production build | Production |
🏭 | npm run preview |
Compile production build and preview | Production |
optional
Change color values (fill
orstroke
) in your SVG file tocurrentColor
to support dynamic color changes.- Put SVG file in
src/assets/img/svg-sprite
directory. - The code from your SVG file will be included in one svg-sprite and placed in
dist/img/svg-sprite/sprite.svg
<svg aria-hidden="true" class="text-orange-700">
<use href="/assets/img/svg-sprite.svg#icon-{{FILE-NAME}}" />
</svg>