Serve static files with Ionic serve


#1

I’m trying to serve an entire directory of static files like fonts with ionic serve.

I instructed Gulp to copy and watch a directory named assets to the www directory that ionic serves files from (this works). However, when I start ionic serve the assets directory isn’t picked up, nor are any of its files.

How can I instruct ionic to serve my static files?


#2

New to Ionic. I’m having the same issue. Although ionic copies the files over the www/assets, the only asset available to the browser are the fonts.

Please help.