Nextspace is a workspace context provides abilities for a nextjs application to :
- I18n label translation base on cookie/header/session (no /en/page, /zh/page in url) and load translation with lazy trunk only when reqired
- Asyn page loading and progress indication with lazy trunk only when reqired
- More...
- /src : The source code
- /app : The test application code and data
- /cypress : The auto test code and data
yarn install
Run the test application
yarn dev
Run the auto test by cypress test framework
yarn test
# or
yarn test:component
yarn test:e2e
# or open and run manually
yarn test:component:open
yarn test:e2e:open
Build the test application
yarn build
# then
yarn start
# or just
yarn build-start
Compile and copy resources to dist
yarn clean
yarn dist
# or watch for running nextspace in nextjs dev
yarn dist-watch
Update information before publish to repository
yarn release
Yon can run the demo app (https://github.com/dennischen/nextspace-demo) on local