- Install Node.js 14.15.3
- Run
git clone https://github.com/suhanw/learn-wp5-modfed-ssr.git
npm install
in./remote
npm run dev
in./remote
will startwebpack-dev-server
on port8081
and build server bundle in./remote/build/server/
npm install
in./host
npm run dev
in./host
will startwebpack-dev-server
on port8080
, build and start SSR server on port3000
- Go to
http://localhost:3000