Skip to content

khangnguyen213/boilerplate_vite_react_ts_sass

Repository files navigation

React + TypeScript + Vite + Sass

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Addition of this boilerplate:

Usage

  • Clone this repository
  • Create an .env file in the root directory following the .env.example file
  • Run 'npm install' to install all dependencies

Features

  • File structure in /src:

    • /routes
    • /pages
    • /scss
    • /layouts
  • Setup alisas for path ing vite.config and tsconfig:

    • @
    • @pages
    • @routes
    • @layouts
  • Sass:

    • Auto import global variables
  • Routes:

    • react-router-dom
    • Lazy loading
    • Layout

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published