-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
TypeError with nuxt-ts-edge 2.5 & ant-design-vue 1.3.5 in SubPopupMenu #549
Comments
Nuxt, Typescript and Antd Vue... I don't think they work toghether very well... |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
By the way, I'm developing a module, which will help integrating Ant Design Vue with Nuxt. So far it works pretty well. I'll release it after polishing it a bit more. |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.3.5
Environment
Mac 10.14.3, Chrome 72.0.3626.119
Reproduction link
https://github.com/envision/nuxt-ts-with-antd-submenu-bug
Steps to reproduce
git clone https://github.com/envision/nuxt-ts-with-antd-submenu-bug && cd nuxt-ts-with-antd-submenu-bug && yarn && yarn dev
What is expected?
Ant Design Vue library's components should be usable in vue templates after importing plugin via a plugin file.
What is actually happening?
In file
/app/components/AppHeader.vue
there isa-menu
component with a single nesteda-menu-item
. If that item is removed, there is no errors, but with it:AntD components are not working in templates here on Nuxt like they were working on plain Vue (I'm refactoring to Nuxt in TypeScript here). In AppHeader I needed to import each component individually to be able to use them. Even though for what I've read the guides and threads, it seems that these components should be working without individually importing them. Using a plugin file to import the library at
/app/plugins/antd-ui.js
.The text was updated successfully, but these errors were encountered: