Javascript 我为手机创建了manifest.json文件
我创建了三个文件index.html、style.css、manifest.json,并将一个图像作为PNG格式添加到索引文件中。正如您所见,索引文件与bouth样式和清单文件非常相似,如下所示Javascript 我为手机创建了manifest.json文件,javascript,json,manifest,Javascript,Json,Manifest,我创建了三个文件index.html、style.css、manifest.json,并将一个图像作为PNG格式添加到索引文件中。正如您所见,索引文件与bouth样式和清单文件非常相似,如下所示 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" co
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>burim</title>
<link rel="stylesheet" href="st.css">
<link rel="manifest" href="manifest.json">
</head>
<body>
<img src="mas.png" class="one">
</body>
</html>
现在我得到了一些关于文件本身的错误,我需要更正吗?这些错误的目的是什么?是编码还是个人电脑本身
{
"name":"websocket",
"short_name":"websocket",
"start_url":"index.html",
"display":"standalone",
"orientation":"portrait-primary",
"background_color":"yellow",
"icon":[
{
"src":"mas.png",
"type":"image/png",
"size":"140x140",
"purpose":"maskable any"
}
]
}