Display our design data
-
- run
npm run i18n
to genrate messages.json insrc/locale
- run
-
- update the other messages.[language].json
-
Go to
src/data/en-US
to create .md files or directories. -
The file name and directory name should follow the format
[index].[name]
. -
Go to the directory for other lanuages such as
src/data/zh
. -
Translate name of the files and directories in the other language folder, keep the same
[index].
number.
- To create component and module under
src/app
npm run gen type=_nav name=[component name]
- To create component, route and module under
src/app/[typeName]
npm run gen type=[typeName] name=[component name]
- To create component and module under
src/components
npm run gen type=_nav name=[component name]
npm run build
npm run start
npm run content