npx create-razzle-app --example basic-spa basic-spa
cd basic-spa
yarn start
This is a basic, bare-bones example of how to use razzle to build a single page application (instead of a universal/isomorphic application). It satisfies the entry point src/client.js
for the browser and includes a template HTML file in public/index.html
.