GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codeDebugTest/react-library-skeleton: This project provide skeleton or template aim to help people quickly started with creating their own React library (not app),using vite, ts, less

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
src
src
 
 
types
types
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.ts
vite.config.ts
 
 

Repository files navigation

react-library-skeleton

This project provide skeleton or template aim to help people quickly started with creating their own React library (not app),using:

  • build tool: vite
  • language: typescript
  • css preprocessor: less
  • zustand: zustand.

Usage

build output

it will build output to dist folder. Also make react, react-dom as peer dependencies to the bundle. If you want add another dependencies, you can add it to peerDependencies in package.json and add external to vite.config.ts.

state management

if you want to use redux, please check react-redux. if don't want to use any state management, you can remove zustand and replace it with your own state management. This project just give a example on zustand/useConfigStore.

react compatible

this project is compatible with react 17.0.2, although it use react 18 as the development version. The implementation references to rc-util.

Development

local development

npm run serve

Runs the app in the development mode.
Open http://localhost:5173/ to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

building

npm run build

About

This project provide skeleton or template aim to help people quickly started with creating their own React library (not app),using vite, ts, less

Topics

react-libraryreact-sdkskeleton-template

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.