-
I know this is not a Mojolicous error but if someone can help that would be great. I am still learning how to do a proper build of a Vue 3 application (or anything non-trivial in Javascript for that matter). I am working through get thing Vue 3 build process to generate files for my full Mojolicious application. npm versions are below. I am hacking through things but get the following error when I trying to run a build:
If I change "import Path from
vite.config.ts (has changed many times but hopefully gives the idea):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You need to read up on ESM vs CJS. All the mojo.js stuff is ESM only. |
Beta Was this translation helpful? Give feedback.
You need to read up on ESM vs CJS. All the mojo.js stuff is ESM only.