-
Notifications
You must be signed in to change notification settings - Fork 358
Open
Description
I found a problem using the Tabler lib; The site just didn't open.
I found the same problem and a partial solution in this other issue:
tabler/tabler-icons#1233 (comment).
The solution that worked for me was:
tabler/tabler-icons#1233 (comment).
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
// /esm/icons/index.mjs only exports the icons statically, so no separate chunks are created
'@tabler/icons-react': '@tabler/icons-react/dist/esm/icons/index.mjs',
},
},
})
Wouldn't it be better to change the icon library for this project? Maybe to react-icons or heroicons? Or add some other configuration and inform it in the documentation?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
