README
vant组件库模仿项目
用法
npm install @andyliwr/vant
全局引入
在main.js中加入如下代码:
import vant from '@andyliwr/vant'
import '@andyliwr/vant/lib/vant.css'
Vue.use(vant)
然后就可以在页面中引入组件了
按需引入
待完成....
联系作者
如果你有啥疑问,可以邮件我(andyliwr@outlook.com)。
## 用法 ``` npm install @andyliwr/vant ``` ### 全局引入 在main.js中加入如下代码: ``` import vant from '@andyliwr/vant' import '@andyliwr/vant/lib/vant.css' Vue.use(vant) ``` 然后就可以在页面中引入组件了
<script type="module">
import andyliwrVant from 'https://cdn.skypack.dev/@andyliwr/vant';
</script>
npm install @andyliwr/vant
在main.js中加入如下代码:
import vant from '@andyliwr/vant'
import '@andyliwr/vant/lib/vant.css'
Vue.use(vant)
然后就可以在页面中引入组件了
待完成....
如果你有啥疑问,可以邮件我(andyliwr@outlook.com)。