Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

janlelis/jspm-es6-react-sass-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single Page App Starter Kit with ES6, JSPM, React, and Sass

What?

This is the boilerplate tooling for a new single page web application. It transpiles ES6/ES7-style code to browser compatible JavaScript using Babel. It uses JSPM for frontend dependency management, which supports ES6 modules via System.JS. CSS is generated by the excellent Sass pre-processor. Everything is glued together with npm scripts in package.json.

See below to get started.

Documentation

Frontend

Tooling

Testing

Setup

A) System Requirements

A1) Install NodeJS & NPM

A2) Install JSPM

$ npm install -g jspm

Depending on your specific node setup, this might also require sudo.

A3) Install Ruby & SASS

Sass is written in Ruby, so install Ruby first. It might already be installed.

B) Project Setup

B1) Clone this repository

$ git clone https://github.com/janlelis/jspm-es6-react-sass-starter.git

B2) Install JavaScript Dependencies

$ npm install

This will also trigger jspm install.

5) Start the Local Server & File Watcher

$ npm start

This will start a local webserver on http://127.0.0.1:8000