Skip to content

a quick stand up of a Vite-based React SPA with a few config problems already solved. typescript 5, react 18, tailwind 3, storybook 7

Notifications You must be signed in to change notification settings

jblossomweb/vite-scaffold-2023

Repository files navigation

This is a React 18 project bootstrapped with vite.

Prerequisites

Node.js version >=18.18.2

Getting Started

First, install dependencies:

npm install

Next, run the development server:

npm run dev

React Pages

Open http://localhost:5173 with your browser to see the result.

You can start editing the page by modifying src/app/pages/HomePage. The page auto-updates as you edit the file. The Route for this page is defined by src/app/index.ts.

Component Library

To run the storybook dev server:

npm run storybook

To generate a static build that can be independently deployed:

npm run storybook:build

Production Build

To build a production version of the app that can be deployed:

npm run build

Other Commands

To run the linter:

npm run lint

To run the formatter:

npm run format

To run tests once:

npm test

To run test watcher:

npm run test:watch

To run coverage report:

npm run test:coverage

A full list of commands can be found in the package.json

About

a quick stand up of a Vite-based React SPA with a few config problems already solved. typescript 5, react 18, tailwind 3, storybook 7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published