knot-vue
v0.2.0-beta.1
Published
# 介绍
Downloads
59
Maintainers
Readme
knot-vue
介绍
A vue library developed with vitepress
快速上手
相关技术
vue , ts
安装
npm i knot-vueor
yarn add knot-vue使用示例
全局引入
// main.ts
import KnotVue from 'knot-vue'
const app = createApp(App)
app.use(KnotVue)
app.mount('#app')// index.vue
<template>
<kn-hello />
</template>按需引入
// index.vue
<template>
<kn-hello />
</template>
<script setup lang="ts">
import { KnHello } from 'knot-vue'
</script>使用文档
https://lh-js.github.io/knot-vue
参与贡献
1.Fork 本仓库 2.新建 Feat_xxx 分支 3.提交代码 4.新建 Pull Request
启动项目
1.安装node_modules包(yarn install)2.设置本地npm目录指向src目录(npm link ./src)3.启动项目(yarn docs:dev)
