Skip to content
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

Issue with NextJs 13 and Mantine v7 #104

Closed
ajdiyassin opened this issue Oct 4, 2023 · 2 comments · Fixed by #129
Closed

Issue with NextJs 13 and Mantine v7 #104

ajdiyassin opened this issue Oct 4, 2023 · 2 comments · Fixed by #129
Labels
help wanted Extra attention is needed

Comments

@ajdiyassin
Copy link

ajdiyassin commented Oct 4, 2023

I'm getting the following errors when using mantine v7

⨯ node_modules\@mantine\prism\cjs\Prism\Prism.styles.js (7:0) @ eval
⨯ TypeError: core.createStyles is not a function

⚠ ./node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js
Attempted import error: 'createStyles' is not exported from '@mantine/core' (imported as 'createStyles').

After checking docs I found this

createStyles function is no longer available in 7.0. Use CSS Modules instead.

is support for mantine v7 planned or we should use v6?
migration guide

@arjunvegda
Copy link
Member

Hi @ajdiyassin

I'm planning to work on migrating to V7 later this month. We're also accepting PRs if you'd like to contribute.

For now, would you be able to use V6 instead?

@ajdiyassin
Copy link
Author

Hi @ajdiyassin

I'm planning to work on migrating to V7 later this month. We're also accepting PRs if you'd like to contribute.

For now, would you be able to use V6 instead?

I have migrated to v6 for now. I had to change a few things to make it run but I would love to use v7 since the syntax is cleaner

Thank you, I'm glad you are planning to support v7 of mantine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants