我正在使用node.js、express.js 和handlebars 构建一个Web 应用程序。我的 Web 应用程序正在运行,现在我想将其转换为 PWA,因此我编写了这样的 manifest.json:
\n\n{\n "name": "Talleres Online",\n "short_name": "Talleres Online",\n "start_url": "./?utm_source=web_app_manifest",\n "display": "standalone",\n "background_color": "#44d1c8",\n "theme_color": "#55bddc",\n "orientation": "portrait",\n "description": "Lleva el control de tu taller a donde vayas, con Talleres Online puedes gestionar el funcionamiento de tu taller mec\xc3\xa1nico \xc2\xa1desde cualquier dispositivo!",\n "lang": "es-MX",\n "icons": [{\n "src": "icons/icon-32x32.png",\n "sizes": "32x32",\n "type": "image/png"\n }, {\n "src": "icons/icon-64x64.png",\n "sizes": "64x64",\n "type": "image/png"\n }, {\n "src": "icons/icon-128x128.png",\n "sizes": "128x128",\n "type": "image/png"\n }, {\n "src": "icons/icon-144x144.png",\n …Run Code Online (Sandbox Code Playgroud) node.js express handlebars.js progressive-web-apps manifest.json