SSR provided by Next (https://nextjs.org)
This setup is meant to be used with WordPress headless backend. You can grab it here: https://github.com/Kodebyraaet/ssr-react-wp-backend
- Set up WP backend (link above) & have
http://localhost:8080
running - Get dependencies with
npm i
- Create .env file by rinning
cp .env.example .env
and make sure API_BASE in that env matches your backend URL - Start the server with
npm run dev
. Node server should now be running on http://localhost:3000
Make sure you have "now" CLI installed (now help
). If not - get it with sudo npm i -g --unsafe-perm now
Deply to now with now
fix featured image in post previewsadd support translation strings to config objectabstract config & menu loading loading from pages/index.js so its easyer to create more pagesadd ACF options to global config endpointadd generic loader componentaddd cookie notice popupadd page load progress bar(done but not enabled)