visuddhinanda 65ffac33df Merge branch 'agile' of https://github.com/visuddhinanda/mint into agile 3 éve
..
demo f8bee39e06 :memo: add markdown viewer by remarked 3 éve
react-day-1 57f77f547e :construction: add react form & intl demo 3 éve
react-day-2 36dba9c2e8 :construction: add pro-table demo 3 éve
react-day-3 36dba9c2e8 :construction: add pro-table demo 3 éve
react-day-4 0fc90574f8 :memo: create the structure of documents 3 éve
react-day-5 0fc90574f8 :memo: create the structure of documents 3 éve
ts-day-1 9ba283e285 :memo: add typescript day-1 practice 3 éve
README.md c0005e4b4a :memo: add markdown editor 3 éve
WINDOWS.md ca085e7d6a :memo: add remote react dev 3 éve
api-v1.md fceab36a74 :memo: response 拼写错误 3 éve
dashboard.png 9ba283e285 :memo: add typescript day-1 practice 3 éve
widget.md 1f88087677 :construction: create 3 éve

README.md

前端培训文档

安装依赖包

For linux 用户

  • offline

    # offline
    tar xf node_modules.tar.xz
    
  • online

    cd dashboard
    yarn install
    

修改配置文件

cd dashboard
cp .env.orig .env # 修改PORT 和 REACT_APP_API_HOST

dashboard.png

开发模式启动

cd dashboard
yarn start
  • For Local: http://localhost:YOUR_PORT/my
  • For Spring: http://YOUR_ID.spring.wikipali.org:YOUR_PORT/my

Typescript

React

其它例子

  • 常见组件

    • img

    img

    • Markdown

    • Viewer

    markdown show

    • Editor

    markdown form

    • on click event

    on click