Skip to content

How to work in Nuxt3 #4783

@wenzheng-yi

Description

@wenzheng-yi
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.8

Environment

nuxt3 latest & ant-design-vue 2.2.8

Reproduction link

https://github.com/liaozheng-yi/nuxt3-antd-vue

Steps to reproduce

Command "npx nuxi init nuxt3-app" to init project, install ant-design-vue, add ant-design.ts and set nuxt.config.ts like that git repository.

What is expected?

work in nuxt3

What is actually happening?

Error report: Cannot find module 'D:*\nuxt3-app\node_modules@ant-design\icons-vue\ArrowLeftOutlined' imported from D:*\nuxt3-app.nuxt\dist\server\server.mjs


I had follow the answer in https://github.com/nuxt/framework/discussions/1208 , but still meet error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions