Demo: https://friendly-bose-005e60.netlify.com/
Recommended OS: Linux, OS X.
You can test this app in Windows but you maybe need install linux sub system or use git bash to improve compatility and execute scripts.
This project use web components concept to have a high performance like native elements.
All components are build with HTML, CSS (Stylus), Javascript.
Behind the scenes we have a open source project Lit-Element that I'm contributing to the documentation.
- Components
All components has a
wcprefix
- Modules
All modules has a
instructprefix
Before anything you need install all dependencies:
- Yarn
yarn- npm
npm installyarn startThis command will run development steps into source code and serve with Browserify.
yarn start-stand-aloneIf you prefer serve the app more static, you can use this command and use serve to access the app. This command will run development steps into source code and will not run browserify.
- NPM
npm i -g serve- Yarn
yarn global add serveOnce that's done, you can run this command inside your project's directory:
serve build -l 3005Where build is the folder and 3005 is the port.
yarn buildThis command will run production steps (minify, uglify and no source map) and will not serve the app.
To test you can serve the app as your want in your server or use serve like the stand alone flow.
First, add Jasmine to your enviroment, I strongly recommend add jasmine global:
npm i -g jasmineNow you just need run the command below:
yarn test
