Contribution guide
IKEDA Hiroki edited this page Sep 21, 2017
·
4 revisions
For development,
- Node.js
- Any browser supporting es modules (for unit tests)
- Ruby (for documentation)
are required.
- Clone repository
git clone https://github.com/vue-gl/vue-gl.git
- Run install script
or you doesn't use yarn yet,
yarn
npm install
If your default browser supports es modules, yarn test
or npm test
will show the test results.
Otherwise, start the browser and open test/index.html
.
The documents are published via github pages. To render the documents, run yarn docs
or npm docs
and visit http://localhost:4000 on the browser.
- If you have created a new component, please add a corresponding test file as possible. Test files should be in
test
directory and also be inserted to thetest/index.html
file. - Make sure all tests pass.
- Run
yarn
ornpm install
before the last commit to update the bundled modules.