evidence-map-netherlands
v0.0.3
Published
Evidence labs contains experiemental components and features for [Evidence](https://evidence.dev) projects.
Downloads
4
Readme
Evidence Labs
Evidence labs contains experiemental components and features for Evidence projects.
To install Evidence
npx degit evidence-dev/template my-project
cd my-project
npm install
npm run dev
Using Evidence Labs Components
Install the package from npm:
npm install --save @evidence-dev/labs
Include it in your
evidence.plugins.yaml
file:components: @evidence-dev/core-components: {} @evidence-dev/labs: {}
Add the component to your page!
Build your own plugin
- Clone this repository
- Add your components to the
src/lib
directory - Test they work by adding them to a page in the
pages/
directory - Edit the name in
package.json
from@evidence-dev/labs
toyour-plugin-name
and set the version to0.0.1
- Publish to npm with
npm publish
(You will need to be logged in to an npm account)