Install with your package manager of choice:
npm install @emdgroup-liquid/liquid
yarn add @emdgroup-liquid/liquid
pnpm add @emdgroup-liquid/liquid
We recommend importing and registering Liquid Web Components in a central place respectively the entry file of your application.
import { LdButton } from '@emdgroup-liquid/liquid/dist/components/ld-button'
customElements.define('ld-button', LdButton)
We recommend importing Liquid stylesheets in a central place respectively the entry file of your application.
There are two options to choose from when importing stylesheets from Liquid. Depending on your needs you should choose one or the other.
import '@emdgroup-liquid/liquid/dist/css/liquid.css'
import '@emdgroup-liquid/liquid/dist/css/liquid.global.css'
import '@emdgroup-liquid/liquid/dist/css/ld-button.css'