Usage with Gatsby.js
Mantine is fully compatible with Gatsby.js, follow following guide to setup your application
Using a plugin
The simplest way to get started with Mantine in Gatsby is to use a plugin:
- Install plugin:
- Add plugin to your
gatsby-config.js
- All done! Server side rendering is fully functional
Without plugin
To setup server side rendering without gatsby-plugin-mantine
:
- Install
@mantine/ssr
- Create
gatsby-ssr.js
file with following code:
- All done! Server side rendering is fully functional
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback