ts-react-boilerplate一个完整的TypeScript前端开发样板

ts-react-boilerplate 是一个设计独特的前端样板,帮助开发者轻松上手 TypeScriptReact服务器端渲染 及其他流行的开发工具,便于快速构建自己的 Web 应用程序。无论您是经验丰富的开发者,还是刚刚开始学习这套工具,都可以按照以下步骤进行操作。

开始使用 ts-react-boilerplate

  1. 如果未安装 Gityarn,请先完成这些环境的准备。

  2. 打开您偏好的控制台,导航到您计划存储源代码的文件夹中。

  3. 运行以下命令以克隆样板项目:

git clone git@github.com:Lapanti/ts-react-boilerplate.git

  1. 使用支持 TypeScript 的编辑器(如 Visual Studio Code)打开源代码,便于进一步开发。

  2. 在控制台中运行以下命令来安装项目所需的所有依赖项:

yarn

注意:初次运行依赖安装可能需要一定时间,取决于网络速度。

  1. 完成以上步骤后,您就可以根据需要进行代码编写或项目自定义,打造符合项目需求的前端架构!
zip
ts-react-boilerplate-master.zip 预估大小:82个文件
folder
ts-react-boilerplate-master 文件夹
file
PULL_REQUEST_TEMPLATE.md 250B
file
.gitignore 117B
file
.babelrc 83B
file
Dockerfile 163B
file
webpack.dev.js 2KB
file
webpack.server.js 567B
file
package.json 5KB
file
tslint.json 852B
file
ISSUE_TEMPLATE.md 228B
folder
src 文件夹
folder
icons 文件夹
file
favicon-32x32.png 1KB
file
favicon-16x16.png 771B
file
android-chrome-192x192.png 4KB
file
apple-touch-icon.png 2KB
file
android-chrome-512x512.png 10KB
file
favicon.ico 7KB
file
safari-pinned-tab.svg 2KB
file
mstile-150x150.png 2KB
folder
components 文件夹
folder
__specs__ 文件夹
file
Button.spec.tsx 561B
file
TodoComponent.spec.tsx 956B
file
Loader.spec.tsx 209B
file
PageNotFound.spec.tsx 237B
folder
__snapshots__ 文件夹
file
Button.spec.tsx.snap 173B
file
PageNotFound.spec.tsx.snap 167B
file
TodoComponent.spec.tsx.snap 696B
file
Loader.spec.tsx.snap 174B
file
TodoComponent.tsx 661B
file
Button.tsx 296B
file
PageNotFound.tsx 191B
file
Loader.tsx 200B
folder
redux 文件夹
file
store.ts 834B
file
guards.ts 1KB
file
reducer.ts 528B
folder
jest 文件夹
file
setup.js 360B
folder
common 文件夹
file
Todo.ts 327B
folder
modules 文件夹
file
AppContainer.ts 214B
folder
__specs__ 文件夹
file
AppView.spec.tsx 851B
folder
__snapshots__ 文件夹
file
AppView.spec.tsx.snap 525B
file
AppView.tsx 550B
folder
index 文件夹
file
IndexReducer.ts 3KB
folder
__specs__ 文件夹
file
IndexView.spec.tsx 2KB
folder
__snapshots__ 文件夹
file
IndexView.spec.tsx.snap 2KB
file
IndexReducer.spec.ts 3KB
file
IndexContainer.ts 521B
file
IndexView.tsx 2KB
folder
styles 文件夹
file
todocomponent.scss 249B
file
button.scss 153B
file
pagenotfound.scss 44B
file
loader.scss 835B
file
variables.scss 198B
file
index.scss 884B
file
styles.scss 187B
file
server.tsx 3KB
file
index.tsx 1016B
file
webpack.config.js 86B
file
.travis.yml 270B
file
browserconfig.xml 259B
file
CONTRIBUTING.md 520B
file
CODE_OF_CONDUCT.md 3KB
file
LICENSE 1KB
file
tsconfig.json 384B
file
webpack.prod.js 1KB
file
README.md 8KB
file
book.json 512B
file
index.html 984B
file
manifest.json 612B
file
.sass-lint.yml 383B
file
SUMMARY.md 451B
folder
docs 文件夹
file
EXTRAS.md 17KB
file
TESTING.md 20KB
file
COMPLETING.md 7KB
file
COMMON.md 9KB
file
VIEWS.md 10KB
file
REDUCERS.md 16KB
file
STRUCTURE.md 2KB
file
REDUX.md 8KB
file
COMPONENTS.md 8KB
file
STYLES.md 11KB
file
WEBPACK.md 11KB
file
CONTAINERS.md 4KB
file
deploy_key.enc 3KB
file
CNAME 27B
file
yarn.lock 313KB
...
zip 文件大小:190.08KB