Vite4, React18 (A simple generic example template)

This starter template includes:

  • Vite 4
  • React18
  • React Router dom 6
  • zustand: Popular React State Management Solution.
  • Introduce typescript, use tsx writing style.
  • Aktiver Eslint,prettier,husky,automatisk specifikation af projektkode.

Unplugin Utilities:

Getting Started

  1. Clone code: execute command---git clone https://github.com/laoer536/vite3.0-react18-TypeScript-router-dom6-mobx6-Eslint-prettier-template

  2. The editor opens and downloads the dependencies:Execution of commands---yarn

  3. Running Projects:yarn dev

  4. Packing project

    Test Package:yarn build:test

    Production Package:yarn build

    (The environment variable file (env) has been added to the root directory, so you can add packaging commands and environment files according to your project.)