基于stencil编译器构建的Web设计系统
- CDN
<script
type="module"
src="https://unpkg.com/gls-cpn/dist/gls-cpn/gls-cpn.esm.js"
></script>
<link
rel="stylesheet"
type="text/css"
href="https://unpkg.com/gls-cpn/dist/gls-cpn/gls-cpn.css"
/>
- NPM
npm i gls-cpn
以使用gls-button为例
import {defineCustomElement as defineButton} from "gls-cpn/dist/components/gls-button"
defineButton()
- none