vite-ssr icon indicating copy to clipboard operation
vite-ssr copied to clipboard

use antdv error, why?

Open lita-jerry opened this issue 2 years ago • 0 comments

Installation step: $ npm install ant-design-vue --save // vite.config.js import Components from 'unplugin-vue-components/vite'; import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers';

export default { plugins: [ /* ... */ Components({ resolvers: [AntDesignVueResolver()], }), ], };

choose a .vue file use components: Primary Button22222222

run: vite-ssr --port 3333 --open

see detail: https://github.com/frandiox/vitesse-ssr-template/issues/16

and the demo: https://github.com/frandiox/vitesse-ssr-template

lita-jerry avatar Jun 24 '22 09:06 lita-jerry