-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES Module #381
Comments
@42zeroo where you able to fix this? |
Did somebody fix this issue.. |
@Surdok i just used new nextjs with app router, it can export static html. |
@ceddybi |
@Surdok Yes it's possible, with nextjs. you can render tsx and serve nextjs's app/api or you can also set up a separate express server that communicates to nextjs. |
I was having this issue with this and a few other packages. I switched to TSX and haven't looked back. |
Is there way to import and use this package as ES Module, not as CJS?
Whenever I'm trying to run my view from the browser, the error is thrown, which occurs when using
tsc
to compile:When I have tried with
tsx
, another error is thrown, but again comming fromexpress/lib/view.js
:The text was updated successfully, but these errors were encountered: