#Creating new component using mantin ui, you can say creating a design system using mantine as layer

3 messages · Page 1 of 1 (latest)

small parrot
#

I’m creating a new library using mantine ui as layer and storybookjs. Everything is working fine every components is rendering on storybookjs but when I’m trying to link my library with nextjs project then the error is coming not working I don’t know why
I have added web pack loader but it still not working.

Module parse failed: The keyword 'interface' is reserved (118:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| }));

midnight garden
#

Sounds like you're trying to directly import TS code into JS code or vice versa

small parrot
#

No