0.0.13 • Published 2 years ago
@evidence-dev/labs v0.0.13
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 devUsing Evidence Labs Components
- Install the package from npm:
npm install --save @evidence-dev/labs Include it in your
evidence.plugins.yamlfile: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/libdirectory - Test they work by adding them to a page in the
pages/directory - Edit the name in
package.jsonfrom@evidence-dev/labstoyour-plugin-nameand set the version to0.0.1 - Publish to npm with
npm publish(You will need to be logged in to an npm account)