Skip to content

Contribution guide

IKEDA Hiroki edited this page Sep 21, 2017 · 4 revisions

Requirements

For development,

are required.

Download and install dependencies

  1. Clone repository
    git clone https://github.com/vue-gl/vue-gl.git
    
  2. Run install script
    yarn
    
    or you doesn't use yarn yet,
    npm install
    

Unit test

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.

See the rendered documentation

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.

Before sending a new pull request...

  • 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 the test/index.html file.
  • Make sure all tests pass.
  • Run yarn or npm install before the last commit to update the bundled modules.