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-
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!
- 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)