You can use it to quickly test new features locally and also do experiments. The purpose of this starter it's to make super quick all the basic setup needed to use plain JS or packages to add.
This starter includes:
pnpm
as the enforced package managerESLint
using the new Flat Config formatPrettier
for consistent code formatting
This project uses pnpm
as package manager and enforces its use.
To install dependencies:
pnpm install
To prevent accidental usage of npm or yarn, the project includes a preinstall script using only-allow
.
If you try to install with another package manager, the process will fail with an informative error.
A ready to use environment with the Development Experience at the first place: Vite prioritizes developer experience by providing features like instant server start, lightning-fast hot module replacement, and a minimal configuration approach. This makes it easier and more enjoyable to develop web applications.
ViteJS: ViteJS Documentation JavaScript: JavaScript Documentation