Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

SVG icons not showing up (Metronic)


I bought a metronic theme,

I followed the laravel instructions to build the application.

Everything is working fine except that the svg icons are not working.

I tried looking for a fix on my own but i'm not getting anywhere.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi Ali Silarbi,

Please try to run the build command with the demo flag.


npm run dev --demo3


By right, the icons should appear in this folder.

/public/demo3/media/svg/*

Thanks



Hello,

Excuse me for my late reply,

You should know that i'm using the demo3

After i ran "npm run dev" I got demo 1 folder under <a>/public/demo1/</a> and i got the icons again, but knowing that i don't need the demo1 i deleted the folder. Upon deleting the folder i lost the icons again.

How can i fix that ?



Hi Ali,

When you run the command "npm run dev". Do you see any errors?

Could you please verify the assets folder here if it exists?
/public/demo1/media/svg/*

Thanks


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(