An add-on that helps simplify Apache eChart integration with Ember.
- Ember.js v4.0.0 or above
- Embroider or ember-auto-import v2
ember install ember-apache-echarts
To link this package locally for development, execute the following, where
<project-root>
is the root of the project using this library as a dependency:
cd packages/ember-apache-echarts/
npm link
cd <project-root>
npm link ember-apache-echarts
Or for yarn
:
cd packages/ember-apache-echarts/
yarn link
cd <project-root>
yarn link ember-apache-echarts
To unlink this project via npm
:
cd <project-root>
npm unlink --no-save ember-apache-echarts
cd packages/ember-apache-echarts/
npm unlink
To unlink this project via yarn
:
cd packages/ember-apache-echarts/
yarn unlink
cd <project-root>
yarn unlink ember-apache-echarts
yarn install --check-files
// or yarn install --force
Note that after unlinking, you may need to delete node_modules
and reinstall
the dependencies. Sometimes simply reinstalling the dependencies after relinking
doesn't work.
The test app isn't automatically linked to the local repo. To run the test app on the local codebase it must also be linked in the same fashion as above:
cd packages/ember-apache-echarts/
npm link
cd ../test-app/
npm link ember-apache-echarts
Note that you may need to delete node_modules
in the test-app
directory
before linking and then reinstall the dependencies for the link to work.
Run ember serve
from packages/test-app and navigate to http://localhost:4200
in your browser.
See the Contributing guide for details.
This project is licensed under the MIT License.