-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
4.0.0-rc.1 missing ion-icons (with updated webpack config) #17019
Comments
can you send your angular.json? |
|
Can you check if I can't reproduce your issue. Make sure you remove node_module, and npm i again |
node_modules/ionicons/dist/ionicons/svg exist, but www/svg not emitted. remove node_modules and run npm install again did'nt solve the problem :/ |
I deleted the |
It's the same for me. It seems when I open another page that some icons appear... it's weird. |
I cleared cache on Google Chrome and everything worked as expected! |
Correct, you have to clear the cache first |
@aces-tm thanks, worked for me :) however I think it's necessarry to remove the www folder before a fresh build. |
Let us summarize:
{
"projects": {
"app": {
"architect": {
"build": {
"options": {
"assets": [
{
"glob": "**/*",
"input": "src/assets",
"output": "assets"
},
+ {
+ "glob": "**/*.svg",
+ "input": "node_modules/ionicons/dist/ionicons/svg",
+ "output": "./svg"
+ }
|
I didn't delete www, just cleared cache... |
Damn, stupid cache! Closing issue! thanks everyone for figuring this out! |
If you cleared your cache and its still not working, see if you have your dev tools open. If so, click the 'disable cache' in there on the network tab and try again. This was the trick for me. |
Clear cache not work for me. |
@jmdmao if you look in another browser that you haven't used before, do they still not show up? That should let you know if its a cache problem or something else. |
works based on this suggestion: |
@paulstelzer |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 4.x
Current behavior:
Icons are missing with the following new configuration:
Expected behavior:
Icons are working
The text was updated successfully, but these errors were encountered: