Skip to content

Simple boilerplate using React, MobX, Typescript & SASS+PostCSS. Bundled with Webpack 3.

Notifications You must be signed in to change notification settings

mraffaele/react-typescript-mobx-sass-webpack_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React TypeScript MobX Webpack SASS Boilerplate

Simple boilerplate using React, MobX, Typescript & SASS+PostCSS. Bundled with Webpack 3.

Getting Started:

  • npm install then
  • npm run dev

Overview

Very simple example React application which compiles to /dist directory.

Uses MobX to create a Store on the Application State which is passed down to child components.

SASS is compiled from /src/sass/style.scss, then PostCSS is used for Autoprefixer. CSS is exported to a standalone file using Webpack ExtractTextPlugin.

Finally uses HTMLWebpackPlugin to automatically insert the css/js bundles into the HTML.

Webpack Tasks

  • npm run dev fires off webpack-dev-server - can view on http://localhost:8080

  • npm run prod fires off webpack production build

About

Simple boilerplate using React, MobX, Typescript & SASS+PostCSS. Bundled with Webpack 3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published