Closed CrispinMartens closed 2 years ago
I followed this procedure to get Luge to work without throwing an' SyntaxError: Unexpected token 'export'' Error inside a Next JS Application.
But every element that I wrap inside a
https://codesandbox.io/s/naughty-haslett-wzub3?file=/pages/index.js
Is there anything more necessary to instantiate Luge?
Hi, Here is a Next.js + luge sandbox https://codesandbox.io/s/magical-ramanujan-3njk4
Does it help?
@AntoineW
I created a
luge.js
component like this:And then use it in my pages and it seems to work fine. Did you manage to get through the build error? What kind of issue do you have now?
Originally posted by @AntoineW in https://github.com/AntoineW/luge/issues/5#issuecomment-937645159