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.
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
yarn build
Builds a minified version of the app and places it in /public
directory.
- Karsten Schmidt
© 2018