0.4.0 • Published 6 years ago
@valle/generator-valle-element-js v0.4.0
valle-element-js
A generator for valle-elements - web components with Polymer 3
Table of contents
How to install and use
Verify if you have node and yarn installed.
1 - Install Yeoman:
$ yarn global add yo2 - Install the valle-element-js generator:
$ yarn global add @valle/generator-valle-element-js3 - Then generate your new element:
$ yo @valle/valle-element-jsThe generated element
Stack / Features:
- Polymer 3.x
- Yarn for dependencies
- Provide UI docs
- Docs for all
- Styling API with custom properties
- more...
Folders Structure:
.
├── README.md
├── CONTRIBUTING.md
├── LICENSE.md
├── demo/
| └── index.html
├── test/
| ├── index.html
| └── your-element_test.html
├── .gitignore
├── your-element.js
├── index.html
└── package.jsonUI Docs:
Provide by iron-demo-helpers.
Development
Run the project locally
1 - Prepare the environment:
$ yarn global add yo2 - Clone the project and install the dependencies:
$ git clone https://github.com/valleweb/valle-element-js.git
$ cd valle-element-js
$ yarn3 - Link the generator locally:
$ npm link4 - Run the generator:
$ yoCode Style
Follow the Valle style guide.
Versioning
To keep better organization of releases we follow the Semantic Versioning 2.0.0 guidelines.
Contributing
Find on our issues the next steps of the project ;) Want to contribute? Follow these recommendations.
History
See Releases for detailed changelog.
License
MIT © valleweb