Closed gunjandatta closed 1 year ago
HI @gunjandatta - I'm running into the exact same problem with [object Module]
and missing icons. Did you ever solve this? Thanks in advance!
So it seems like this is caused by an incompatibility with html-loader
attempting to use the new ES modules syntax. I was able to fix it by changing the webpack rule for .svg
s like this:
{
test: /\.svg$/,
loader: 'html-loader',
options: {
esModule: false
}
}
This issue on webpack and this issue on html-loader have more details. Hopefully this helps!
Here is an attempt to import the library using this example. It's not rendering the toolbar as expected. How can you import and use only the Toolbar w/ all/most of the options?