Quasar BEX with Vite: how to require this module? #13218
-
|
Hi, I am completely lost. In my BEX project which was working with Quasar Webpack, I need to include the WPAPI module. Here what I tried: Attempt 1 In a file "wordpress.js": Result: Attempt 2
Result at compile time: Attempt 3 Result at runtime: With Webpack, a simple 'require' was enough. Do I miss something? How can I include this module? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Sorry guys, it was a stupid mistake. I was in the migration process to support Manifest v3. And I forgot to install the Lost several hours for this stupid mistake. |
Beta Was this translation helpful? Give feedback.
Sorry guys, it was a stupid mistake.
I was in the migration process to support Manifest v3. And I forgot to install the
wpapimodule by doing ayarn add wpapiin my new repository.Lost several hours for this stupid mistake.