Before submitting your contribution please read the guidelines.
-
Do not create questions. The issue list is exclusively for reports, bugs and feature requests. Use the Discord server instead.
-
Always search for your issue first. It may have already been answered, planned or fixed in some branch. New components and features will be planned on Milestones or on Projects.
-
Only create issues for the newest version.
-
Create a declarative title and describe clearly the steps necessary to reproduce the issue. If an issue labeled "need repro" receives no further input from the issue author for more than 3 days, it will be closed.
-
If you want to show your code please use Codepen or JSFiddle. You could start with this template.
-
In case you found a solution by yourself try to explain how you fixed it. It could be useful for somebody else. :)
-
The
master
branch is basically just a snapshot of the latest stable release. All development should be done in dedicated branches. Do not submit PRs against themaster
branch. -
Work in the
src
ordocs
folder and DO NOT adddist
in the commits. -
Make small commits as you work on the PR. They will be automatically squashed before merging.
-
Provide convincing reason to add a new feature. Ideally you should open a suggestion/request issue first and have it greenlighted before working on it.
-
If fixing a bug:
- If you are resolving a special issue, add the GitHub ID to your commit. E.g.
(fix something really ugly #xxx)
- Provide detailed description of the bug in the PR.
- If you are resolving a special issue, add the GitHub ID to your commit. E.g.
You will need Node.js version 6+
After cloning the repo, run:
$ yarn install
### Start dev server with hot reload
$ yarn dev
### Check for errors
$ yarn lint
### Build everything
$ yarn build
### Build docs only
$ yarn build:docs
### Build lib only
$ yarn build:lib
The other tasks on package.json SHOULD NOT be executed.