1.0.0 • Published 2 years ago

react_typescript_staging_demo v1.0.0

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

React+typescript+hook staging

usage

load dependencies

npm install or yarn 

start

npm run start or yarn start 

build

npm run build or yarn build 

project tree

├─.babelrc ---------> babel config
├─.eslintrc.js -----> runtime eslint config
├─index.html -------> app container
├─index.tsx --------> app entry
├─package.json -----> project config
├─README.MD --------> project description
├─tsconfig.json ----> tsconfig
├─webpack.config.js-> basic config
├─webpack.dev.js ---> development
├─webpack.prod.js --> production
├─src
|  ├─app.tsx -------> component entry
|  ├─global.css  ---> global css
|  ├─global.less ---> global less
|  ├─utils ---------> utils
|  |   └global.ts
|  ├─services ------> request
|  |    └request.ts
|  ├─pages ---------> display page
|  |   ├─home
|  |   |  ├─index.tsx
|  |   |  └other.tsx
|  ├─models --------> global data manage
|  |   ├─index.ts
|  |   └store.tsx
|  ├─assets --------> resource
|  |   └image.png