PolyDux - Starter Kit
Polymer2 + Redux + Server w/Login & API proxy
Setup
Prerequisites
First, install Polymer CLI using npm (we assume you have pre-installed node.js and mongoDB).
npm install -g polymer-cli
Ensure all dependencies are installed
npm run prebuild
Start the development server
npm start
Build
npm run build
Run tests
This command will run Web Component Tester against the browsers currently installed on your machine:
polymer test
Adding a new view
You can extend the app by adding more views that will be demand-loaded
e.g. based on the route, or to progressively render non-critical sections of the
application. Each new demand-loaded fragment should be added to the list of
fragments
in the included polymer.json
file. This will ensure those
components and their dependencies are added to the list of pre-cached components
and will be included in the bundled
build.