Skip to content

Latest commit

 

History

History
 
 

router-basics

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

router-basics

Live demo

git clone https://github.com/thi-ng/umbrella.git
cd umbrella/examples/router-basics
yarn install
yarn start

Installs all dependencies, runs webpack-dev-server and opens the app in your browser.

About

This example is based on the create-hdom-app project template and is one the most advanced example in this repo thus far. Features covered:

  • App & component configuration
  • Pure ES6 UI components
  • Central app state handling
  • Derived views
  • SPA routing, route definitions & validation options
  • Composable events, interceptors, side effects
  • Async side effects
  • Dynamic JSON content loading / transformation
  • Component styling with Tachyons CSS

Production build

yarn build

Builds a minified version of the app and places it in /public directory.

Authors

  • Karsten Schmidt

© 2018