npm.io
0.0.0 • Published 4 years agoCLI

vite-starter

Licence
Unlicense
Version
0.0.0
Deps
1
Size
9 kB
Vulns
0
Weekly
0

vite-starter

A CLI tool to create boilerplate for vanilla TS projects using Vite.

To get started, just run npx vite-starter <your-project-name>!

Ensure that your Node environment meets Vite's requirements. As mentioned here:

Vite requires Node.js version 14.18+, 16+. However, some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.


The tool currently does the following:

  • Uses Vite to generate a vanilla TypeScript project.
  • Installs Sass and other required dependencies.
  • Removes some extra files to clean up.
  • Adds a styles directory in src which includes the SCSS boilerplate to build upon.

Keywords