Skip to content

a Starter Project for ReasonReact with Sass Compilation, Routing and Route Transitions

Notifications You must be signed in to change notification settings

deowk/reason-react-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For the project to build, these files must exist with exact filenames (unless you change the bucklescript and webpack configs):

  • template.html is the page template;
  • src/main.re is the ReasonML entry point.

You can delete or rename the other files.

You may create subdirectories inside src. For faster rebuilds, only files inside src are processed by Webpack and BuckleScript. You can add new scss files anywhere in src and import them in your .re files.

Run the project

In the project directory, you can:

Install dependencies

$ yarn install

Start the BuckleScript Compiler

$ yarn start

Run the Webpack Development Server

$ yarn webpack

Runs Webpack and hosts your app on http://localhost:3000

The page will reload if you make edits.
You will also see any lint errors in the console.

About

a Starter Project for ReasonReact with Sass Compilation, Routing and Route Transitions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published