While developing your component, there is a development server that will watch your files for changes and automatically re-build your styles and re-lint your code.
To run the development server:
Run gulp server
Navigate to http:localhost:3001
To simply build and lint your code, run gulp build.
You can also push your code to GitHub Pages by running gulp deploy.
This project has been deprecated in favor of using the Brick Yeoman Generator found here: https://github.com/mozbrick/generator-brick
Brick-Boilerplate
Demo
Check it live!
Usage
Import Web Components polyfill:
Import Custom Element:
Start using it:
Options
foobarMethods
method()Events
onsomethingDevelopment
Brick components use Stylus to generate their CSS.
This repository comes outfitted with a set of tools to ease the development process.
To get started:
Install Bower & Gulp:
Install local dependencies:
While developing your component, there is a development server that will watch your files for changes and automatically re-build your styles and re-lint your code.
To run the development server:
gulp serverhttp:localhost:3001To simply build and lint your code, run
gulp build.You can also push your code to GitHub Pages by running
gulp deploy.License
MIT License