简体   繁体   English

nuxt.js pwa 的初始屏幕(添加到主屏幕 ios 和 Apk pwa)

[英]Splash screen for nuxt.js pwa (add to home screen ios and Apk pwa)

Hey im trying to set splash screen for my nuxt js project and ive already try All meta tags like these: ———-嘿,我正在尝试为我的 nuxt js 项目设置启动画面,我已经尝试过所有类似这样的元标记:----

{link rel:"apple-touch-startup- image",media:"screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)",href:"splash/launch-2688x1242.png"}

———- ——————

In every sizes in my nuxt-config.js but not working, Please help me out if u know how can i set a splash screen for my nuxt project在我的 nuxt-config.js 中的所有尺寸但都不起作用,如果你知道如何为我的 nuxt 项目设置启动画面,请帮助我

For this, you could customize the loading indicator: https://nuxtjs.org/docs/2.x/features/loading/#the-loading-indicator-property为此,您可以自定义加载指示器: https://nuxtjs.org/docs/2.x/features/loading/#the-loading-indicator-property
And use a custom one, where you do design your splash screen .并使用自定义的,您可以在其中设计启动画面

Not sure if the fact that it's a PWA will require additional work but if it does, this one should fix it: https://pwa.nuxtjs.org/icon/不确定它是 PWA 是否需要额外的工作,但如果需要,这个应该修复它: https://pwa.nuxtjs.org/icon/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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