This repo was created to reproduce an error with MantineProvider& Remix
- vite-component-library-template - Was used as a template for a component library
- remix-template - Was used for Mantine w/ Remix
vite-component-library-template is simply exporting MantineButton and remix-template is importing and then using it.
To run the project:
- Run
pnpm i
on vite-component-library-template - Run
pnpm run build:lib
on vite-component-library-template - Run
pnpm i
on remix-template - Run
pnpm run dev
on remix-template
If you make changes in the component library, for them to take effect, you have to run pnpm run build:lib
again on the vite-component-library-template and then pnpm i
on the remix-template directory.
Error after running the Remix app:
![image](https://private-user-images.githubusercontent.com/38038348/314933254-c8ea1e12-388f-40b0-8324-ae522bcc9db2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk4NjU0NjIsIm5iZiI6MTczOTg2NTE2MiwicGF0aCI6Ii8zODAzODM0OC8zMTQ5MzMyNTQtYzhlYTFlMTItMzg4Zi00MGIwLTgzMjQtYWU1MjJiY2M5ZGIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE4VDA3NTI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNmMDhkZmMwYjRiM2RmMTg5NjIxNDQ4MjRlNGEzOTRiN2Q2MDgwY2RlNjBjNTdmZWQyOTE4YTI3Nzc4YzE5ZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.uFjLw5141-ppEBSCSoc3SZw2M8A7CAT_DbpSPBvDVVQ)