1.0.7 • Published 2 years ago

create-vite-react-ts-app v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Vite React template

Install via npm

npx create-vite-react-ts-app your-repo-name

Quick Start

create .env.local with the following contents:

VITE_EXAMPLE_ENVIRONMENT_VARIABLE = "hello world"

then run

npm ci
npm run dev

If you install any new dependencies during development use npm i and make sure to commit the new package-lock.json

Template features

  • vite project with typescript and react
  • automatic changelog generation, tagging and version bumping in github (on "master" branch - but this can be changed in .github/workflows/release.yml)
  • eslint configuration and vscode recommendation
  • husky pre-commit hooks, enforces before commit:
  • vitest pre-configured, with example unit tests
  • automatic aliasing of all paths declared in tsconfig.json, this includes inside scss files
  • storybook pre-configured to work with vite, with example story
  • vite environment variable example
  • CSS reset in globals.scss
  • basic scss theme example
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago