mohole / vite-starter

Simple starter kit boilerplate based on Vite.js vanilla template.

Home Page:https://mohole.github.io/vite-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mohole-vite-starter

Simple starter kit boilerplate based on Vite.js vanilla template.

How to use

Use degit to quickly clone the repo to a new folder:

npx degit mohole/vite-starter my-new-project

then install dependencies

cd my-new-project
npm install
# or "npm i" as shortcut...

and get started:

npm run dev

This will start a Rollup development server instance in hot-reload mode (this will automatically update your browser when you apply any changes to the source files), your project will be exposed at localhost:3000.

To create the optimized files to publish to whaterver static hosting you choose, just run:

npm run build

the result will be available in the ./dist folder.

Templates

There are a few different templates available in various branches, the default template use plain HTML+CSS+Javascript.

Template with SASS:

npx degit mohole/vite-starter#sass

Template with SASS & Bootstrap v5:

npx degit mohole/vite-starter#bootstrap

Template with Tailwind:

npx degit mohole/vite-starter#tailwind

Customizations

To customize and evolve the complexity of the project you can follow the official Vite.js documentation.

License

Released under the MIT license.

About

Simple starter kit boilerplate based on Vite.js vanilla template.

https://mohole.github.io/vite-starter/

License:MIT License


Languages

Language:HTML 53.8%Language:CSS 31.1%Language:JavaScript 15.1%