What is public/manifest.json file in create-react-app?

后端 未结 1 435
忘了有多久
忘了有多久 2020-12-13 22:50

I know that chrome extensions use \'manifest.json`, but here, it is used as something else as well.

contents -

{
  \"short_name\": \"React App\",
           


        
相关标签:
1条回答
  • 2020-12-13 23:42

    It's a Web App Manifest that describes your application and it's used by e.g. mobile phones if a shortcut is added to the homescreen.

    From MDN (linked above):

    The web app manifest provides information about an application (such as name, author, icon, and description) in a JSON text file. The purpose of the manifest is to install web applications to the homescreen of a device, providing users with quicker access and a richer experience.

    0 讨论(0)
提交回复
热议问题