Replies: 1 comment
-
I think you want to create library, not applicatin, please read https://webpack.js.org/guides/author-libraries/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ive made basic component just for test:
I than pack it with webpack, here is config my config:
Now i'm trying to import it in app module:
error: "The requested module '/apps/inwentarz/app.js' does not provide an export named 'default'"
error: "The requested module '/apps/inwentarz/app.js' does not provide an export named 'DoubleWrapper'"
I also tried simple file import, but if i try to use it i get error "Uncaught ReferenceError: DoubleWrapper is not defined" while defining app components.
Here is full question with more details if needed:
https://stackoverflow.com/questions/74863944/how-can-i-import-vue-component-into-application-created-in-php-file
Beta Was this translation helpful? Give feedback.
All reactions