/driving-test

Primary LanguageTypeScript

Egg && TS

本地创建文件夹driving-test,及子文件夹api

api目录下npm init egg --type=ts,选ts版本。再npm i (启动npm run dev)

React && TS

回到driving-test文件夹,npx create-react-app license --template typescript

cd license

yarn add axios lodash redux react-redux react-router react-router-dom

yarn add -D node-sass @types/axios @types/lodash @types/redux @types/react-redux @types/react-router @types/react-router-dom