This is a Next.js template for PureScript.
Create a project using this template:
npx create-next-app -e https://github.com/rowtype-yoga/purescript-nextjs-template
Install dependencies:
npm install
Build the project and run the dev server:
npm run build:spago # if you are using vscode the language server will automatically build everytime you change a file
npm run dev # start the development server
Now go to http://localhost:3000.