rescript-nextjs-template
Opinionated Boilerplate for NextJS, Tailwind and ReScript
File Explorer
Download Latest Version (.zip)- _app.js
- examples.js
- index.js
- zeit-black-triangle.svg
- Next.mjs
- Next.res
- .gitkeep
- MainLayout.mjs
- MainLayout.res
- MainLayout.resi
- App.mjs
- App.res
- App.resi
- Examples.mjs
- Examples.res
- Examples.resi
- Index.mjs
- Index.res
- Index.resi
- _fonts.css
- main.css
- .babelrc
- .gitignore
- .nowignore
- bsconfig.json
- jsconfig.json
- LICENSE
- next.config.js
- now.json
- package-lock.json
- package.json
- postcss.config.js
- README.md
- tailwind.config.js
# Installation Guide
1. Get the code
git clone https://github.com/ryyppy/rescript-nextjs-template
Downloads the entire project code from GitHub to your computer.
cd rescript-nextjs-template
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm run res:start
Type this command into your terminal and run it.
npm run dev
Starts the development/run server.
npm run build
Builds optimized production files.
PORT=3001 npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
