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.
npm install
Task Name | Description | Environment | |
---|---|---|---|
:construction: | npm run dev |
Compile dev build, start the server and fake API and watch for changes | Development |
:factory: | npm run build |
Compile production build | Production |
:factory: | npm run preview |
Compile production build and preview | Production |
optional
Change color values (fill
or stroke
) in your SVG file to currentColor
to support dynamic color changes.src/assets/img/svg-sprite
directory.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>