You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
404 B
17 lines
404 B
// 目前在 nuxt 中无法按需引入样式,因此采用手动引入的方式
|
|
import 'vant/lib/index.css';
|
|
|
|
import { Button, Cell, CellGroup, Col, Icon, Image, Row } from 'vant';
|
|
|
|
import { defineNuxtPlugin } from '#app';
|
|
|
|
export default defineNuxtPlugin(nuxtApp => {
|
|
nuxtApp.vueApp
|
|
.use(Row)
|
|
.use(Col)
|
|
.use(Image)
|
|
.use(Icon)
|
|
.use(Cell)
|
|
.use(Button)
|
|
.use(CellGroup);
|
|
});
|
|
|