New project with Oruga modal example not working #6279
-
Hello, I just installed vscode with vue 3 and oruga and created a new vue project. I literally just copied the modal example from Oruga and it does not work, the text "Lorem ipsum..." is displayed directly with no buttons. On firefox console i see: [Vue warn]: resolveComponent can only be used in render() or setup(). 2 runtime-core.esm-bundler.js:38 [Vue warn]: Unhandled error during execution of render function [Vue warn]: Unhandled error during execution of render function [Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core how can i know what am i doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Please provide a minimum reproduction, thanks! need more info. |
Beta Was this translation helpful? Give feedback.
-
Okay! Here it goes: -> i type "vue create newproject" in vscode (Vue3+babel+eslint) [Vue warn]: Failed to resolve component: o-button [Vue warn]: Failed to resolve component: o-modal |
Beta Was this translation helpful? Give feedback.
-
You need to register these components before you use them in your template. https://oruga.io/documentation/#setup |
Beta Was this translation helpful? Give feedback.
-
Finally solved this!! I completely uninstalled vscode (removing appdata folders too). After reinstalling and redownloading npm components it worked!!! Dont know what was wrong tho... Thank you all! |
Beta Was this translation helpful? Give feedback.
Finally solved this!!
I completely uninstalled vscode (removing appdata folders too). After reinstalling and redownloading npm components it worked!!!
Dont know what was wrong tho...
Thank you all!