This template includes everything you need to get a jump start on your next Vue project.
This project features...
git clone https://github.com/Raghav-Sahai/vue-project-template.git
cd vue-project-template
npm install
npm run dev
A local development server will start on port 5173.
To kill the development server, simply press control + c
in the terminal where the project is running.
For testing, this project is configured to use Vitest, a vite native unit testing framework.
To run tests:
npm run test:unit
To run tests in watch mode:
npm run test:unit:watch
Prettier and eslint are used to handle code formatting and linting.
To format the code:
npm run format
To lint the code:
npm run lint
Pre-commit hooks are set up using husky
Husky is configured to run three commands before each commit:
npm run test:unit
npm run lint
npm run format