[ERR_REQUIRE_ESM] How to build SSR Quasar project with Openlayers? #15202
Unanswered
sergeykorobeynikov
asked this question in
CLI - SSR mode
Replies: 2 comments
-
|
This seems to be the same issue as this: |
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.
-
I use Openlayers in my project, for example StartPage.vue contains the following code:
When I start a dev server for my App using "quasar dev -m ssr" cmd everything starts(!) and there are no problems(!).
When I build SSR project using "quasar build -m ssr" cmd and, after that run project:
I see:
What is needed to solve this problem?
P.S. I am using ol@7.1.0.
Beta Was this translation helpful? Give feedback.
All reactions