Skip to content

Vite + Tailwind 3 + Vue 3 SFC + Handlebars + Layouts + Components. 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.

Notifications You must be signed in to change notification settings

roybarber/vite-static-starter

Repository files navigation

Static Starter 2023

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.

Getting Started

Requirements

  1. NodeJS
  2. npm

Install

  1. Clone this repository
  2. Run npm install

Run the project

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

How to use SVG sprite?

Add images
  1. optional Change color values (fill or stroke) in your SVG file to currentColor to support dynamic color changes.
  2. Put SVG file in src/assets/img/svg-sprite directory.
  3. The code from your SVG file will be included in one svg-sprite and placed in dist/img/svg-sprite/sprite.svg
SVG tag
<svg aria-hidden="true" class="text-orange-700">
	<use href="/assets/img/svg-sprite.svg#icon-{{FILE-NAME}}" />
</svg>

Todo: Further Vite documentations

About

Vite + Tailwind 3 + Vue 3 SFC + Handlebars + Layouts + Components. 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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published