Ignoring file www


Should I ignore www file on git when uploading ionic?

Thanks in advance.

Yes - your .gitignore should include:


Lasttime I add images file in www/assets/imgs

When I transfer the file the images are blanks.

Place your ‘images’ in the assets folder:

    └── /config
    └── /e2e
    └── /node_modules
    └── /src
        └── /app 
        └── /assets
            └── /images
                └── /icons
                └── /splash  
        └── /environment
        └── /theme  

When I type ionic serve - will it automatically build www files?

yes, it automatically build www folder. sometime livereload not work properly then you can delete it and it will generate it automatically