socobo-element-template

Steps:


  1. download and install NodeJS and NPM
  2. install bower with npm install -g bower
  3. install web-component-tester with npm install -g web-component-tester
  4. install polyserve with npm install -g polyserve
  5. go to the socobo-element-template folder and install dependencies with bower install
  6. ready to rock!

Notes:


  • IMPORTANT: use canonical path for your imports, this means use ../ instead of bower_component/
  • run server with polyserve inside the socobo-element-template folder to demo your element
  • go to localhost:8080/components/socobo-element-template/demo in your browser
  • run web-component-tester with wct inside the socobo-element-template folder to test your element

Resources: