@eightshapes/esds-code-snippet
v0.15.0
Published
Install using npm: ``` npm install @eightshapes/esds-code-snippet ```
Downloads
35
Readme
ESDS Code Snippet
Install using npm:
npm install @eightshapes/esds-code-snippet
Outputs
The package contains:
/dist/esds-code-snippet-web-component.js
ES6 compatible web component definition for<esds-code-snippet>
./dist/EsdsCodeSnippet.js
ES6 module that exports anEsdsCodeSnippet
Lit Element class. Use to define your own custom element tag:
import { EsdsCodeSnippet } from '@eightshapes/esds-code-snippet/dist/EsdsCodeSnippet.js'; customElements.define('aliased-code-snippet', EsdsCodeSnippet); // Creates <aliased-code-snippet> tag
Running the dev environment locally
Refer to the ESDS Component Readme