Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module 'unplugin-vue-components/vite' #43

Closed
IvyLin737 opened this issue Sep 16, 2021 · 2 comments
Closed

Cannot find module 'unplugin-vue-components/vite' #43

IvyLin737 opened this issue Sep 16, 2021 · 2 comments

Comments

@IvyLin737
Copy link

vite.config.js

import Components from 'unplugin-vue-components/vite';
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers';

plugins: [
    vue(),
    Components({
        dts: true, // enabled by default if `typescript` is installed
        resolvers:[
            AntDesignVueResolver()
        ],
        include: [/\.vue$/, /\.vue\?vue/, /\.md$/],
    })
],

image

@anncwb
Copy link
Collaborator

anncwb commented Nov 2, 2021

Can you give me a demo?

@anncwb
Copy link
Collaborator

anncwb commented Nov 2, 2021

upgrade to 1.3.0

@anncwb anncwb closed this as completed Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants