简体   繁体   中英

Not Finding Application Manifest - Progressive Web Applications

I am currently trying to turn a Single Page Application that I have been developing into a Progressive Web Application but I seem to be falling at the first hurdle. I am trying to add the application manifest to the project but when I open it in Google Chrome Dev Tools it cannot find it. Below is the error I get from the developer tools.

在此处输入图片说明

In the next image I am showing my directory an as you can see the manifest.json is in the same directory as the index.html file.

在此处输入图片说明

Finally in the index.html file I have linked the manifest.json file as shown in the next image.

在此处输入图片说明

If anyone has any suggestions it would be massively appreciated and if you need any more information I will be happy to add it in here.

Make sure that you have added the manifest.json into .angular-cli.json "assets" array: 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM