vite-web is a customizable template for modern web applications using Vite. It features out-of-the-box support for fast reloading and pre-configured linters, ensuring best practices and code consistency from the start.
- Vite: Experience fast builds and updates with Vite's modern build tooling.
- ESLint: Pre-configured with
eslint-config-manzdevfor JavaScript linting. - StyleLint: Integrated with
stylelint-config-manzdevfor CSS linting. - GitHub Pages: Ready setup for deployment to
gh-pagesfor easy preview and deployment.
βββ jsconfig.json
βββ package.json
βββ public
βββ README.md
βββ src
β βββ assets
β βββ components
β βββ index.css
β βββ index.html
β βββ index.js
β βββ modules
βββ vite.config.js
Ensure you have Node.js installed on your machine.
Clone this repository and navigate into the project folder:
git clone https://github.com/sanurb/vite-web
cd vite-project-templateInstall dependencies:
npm installStart the development server:
npm run devOpen http://localhost:5173 in your browser to see your application in action.
To build the project for production:
npm run buildDeploy your project to GitHub Pages:
npm run deploy