English | 简体中文
-
Use your familiar package manager to install the component package
cuiping-component
.$ pnpm i cuiping-component $ yarn add cuiping-component $ npm i cuiping-component
-
Import and use the component (You may refer to our Demo page).
<!-- App.vue --> <script lang="ts"> import { Cuiping } from 'cuiping-component' import 'cuiping-component/dist/style.css' /* Don't forget the style */ </script> <template> <Cuiping :molecule="..." :render-options="..." /> </template>