Skip to content

lixiange/h5-react-ts

Repository files navigation

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm run start

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

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

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

打包项目到build目录

See the section about deployment for more information.

npm run build-ana

分析项目中各个包的体积

npm run upload

将打包后(build目录)的项目上传到阿里云oss服务器

Note: this is a one-way operation. Once you eject, you can’t go back!

項目介紹

使用react+ts+hooks写的h5项目框架

TS类型文件

types目录

api.d.ts api文件中的接口类型
types.d.ts 全局文件和通用文件接口类型
action.ts redux中action文件中函数接口类型和联合类型

About

使用react+ts+hooks搭建的h5项目框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published