- dev deploy
npm start
-
- create a folder XX in src/data
-
- copy an example of title.json
-
- add a Category in src/components/category.ts
-
- create a folder XX in src/pages and add index.tsx in it
-
- add XXJson in src/components/header.tsx in allItems for search auto-complete
-
- add XX.md in src/data/{category}
-
- add infos in src/data/{category}/title.json
-
- make sure (xx.md) path == (title.js) type/page
run npm run lint
A global css file is in src/layouts/gloable.less
A global layout file is in src/layouts/index.tsx