mantinedev / ui.mantine.dev

Mantine UI website and components
https://ui.mantine.dev
MIT License
2.84k stars 314 forks source link

TS2305: Module '"@mantine/core"' has no exported member 'rem'. #54

Closed jeli-t closed 1 year ago

jeli-t commented 1 year ago

I get this error while running the following: import { rem} from '@mantine/core';

I'm using the newest versions of mantine and typescript.

rtivital commented 1 year ago

You must update all @mantine/ packages to 6.0 to use rem function.

jeli-t commented 1 year ago

I already had updated to 6.0. I have removed and reinstalled all node_modules and it worked. Thanks for your help any way.