-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG icons are not Loading with webpack #48
Comments
Sorry! It's fixed. It was part of the blackTheme.js file: https://raw.githubusercontent.com/nhnent/tui.image-editor/b281db211e247fba537d00312dc2a3513e1541bc/examples/js/theme/black-theme.js It'd be great if this can be included in the documentation. Your plugin is awesome! |
I have the same problem but i didn't understand how you manage to fix it with the blackTheme file, could you help me @zeshanshani ? |
Never mind i imported the files and put them in the conf of the theme file like so:
|
@gamcoh Thanks, man! |
Hey i am unable to solve this issue and also unable to understand the above comments can someone please help me on where to write this code ? |
Version
3.2.0
Development Environment
Chrome, Mac 10.13.4
Current Behavior
When importing with Webpack, the SVG icons are not loading because they are pointing to the current page whereas the icons are located inside the node_modules package (screenshot: https://s.zeshanahmed.com/a_2109F674.png).
And I am unable to set the path for the SVG icons either. Checked the documentation, read the code, but can't find any hint.
Here's my code:
Expected Behavior
I need to find how I can pass a custom path for the SVG icons URLs.
The text was updated successfully, but these errors were encountered: