1846689910 / personal-page

see the personal page https://zuhuihe.vercel.app
https://zuhuihe.vercel.app
Other
0 stars 0 forks source link

Personal Page

Build Status

Demo

https://zuhuihe.vercel.app

contents

development

npm run dev
# OR
yarn run dev
PORT=3000 npm start

build and export

npm run build
npm run export
# OR
yarn run build
yarn run export

combined command

npm run be
# OR
yarn run be

analyze bundle structure

npm run analyze
# OR
yarn run analyze

Browser Automation

npm run browser-automation -chrome
# OR
yarn run browser-automation -chrome
demo browser automation

Test

npm test
# OR
yarn test

run with self defined server

npm run express
npm run hapi
npm run koa

OR

yarn run express
yarn run hapi
yarn run koa

Lint

use Eslint for code formatting

npm run lint
# OR
yarn run lint

Develop

end points

the next.js use micro to be the dev server

define the end points in src/pages and create file like alive.jsx, which will become /alive. Refer to alive.jsx as an example

Apollo + GraphQL Demo structure