Skip to content

bonniss/refine-mantine-v7

Repository files navigation

❤️‍🔥 Refine + Mantine v7

Refine's Mantine integration only supports Mantine v5. This template build on top of Mantine v7 + Vite template, adding:

  • Headless Refine v4 integration (based on this tutorial).
  • Sample resources of blog-post and category.
  • Login page.
  • i18n.
  • Notification provider.
  • Dockerfile to deploy via Nginx.

Features

This template comes with the following features:

npm scripts

Build and dev scripts

  • dev – start development server
  • build – build production version of the app
  • preview – locally preview production build

Testing scripts

  • typecheck – checks TypeScript types
  • lint – runs ESLint
  • prettier:check – checks files with Prettier
  • vitest – runs vitest tests
  • vitest:watch – starts vitest watch
  • test – runs vitest, prettier:check, lint and typecheck scripts

Other scripts

  • storybook – starts storybook dev server
  • storybook:build – build production storybook bundle to storybook-static
  • prettier:write – formats all files with Prettier