# brick-boilerplate **Repository Path**: mirrors_mozilla/brick-boilerplate ## Basic Information - **Project Name**: brick-boilerplate - **Description**: This project has been deprecated in favor of the Brick Yeoman Generator. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-22 - **Last Updated**: 2026-04-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # This project has been deprecated in favor of using the Brick Yeoman Generator found here: https://github.com/mozbrick/generator-brick # Brick-Boilerplate > A [Brick](https://github.com/mozilla/brick/) custom element starter-kit. ## Demo [Check it live!](http://my-user.github.io/my-repo) ## Usage 1. Import Web Components polyfill: ```html ``` 2. Import Custom Element: ```html ``` 3. Start using it: ```html ``` ## Options Attribute | Options | Default | Description --- | --- | --- | --- `foo` | *string* | `bar` | An Attribute. ## Methods Method | Parameters | Returns | Description --- | --- | --- | --- `method()` | None. | Nothing. | A method. ## Events Event | Description --- | --- `onsomething` | Triggers when something happens. ## Development Brick components use [Stylus](http://learnboost.github.com/stylus/) to generate their CSS. This repository comes outfitted with a set of tools to ease the development process. To get started: * Install [Bower](http://bower.io/) & [Gulp](http://gulpjs.com/): ```sh $ npm install -g bower gulp ``` * Install local dependencies: ```sh $ npm install && bower install ``` 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`. ## License [MIT License](http://opensource.org/licenses/MIT)