This project was bootstrapped with Create React App.
In the project directory, you can run:
# dev
npm install
npm start
# prod
npm run build
# analyze
npm run build
npm run analyze
详细请参考package.json
文件
注意:package-lock.json
文件目前没有在git版本控制里,如果遇见版本错误或者项目启动不起来 请联系我们
- 相对路径
import Header from '../../components/home/Header'
- 绝对路径
import Header from 'components/home/Header'