Closed zcjunblog closed 3 months ago
开启skyline引擎渲染步骤: 1.在manifest.json添加 "lazyCodeLoading": "requiredComponents", "renderer": "skyline", "componentFramework": "glass-easel", "rendererOptions": { "skyline": { "defaultDisplayBlock": true } },
"lazyCodeLoading": "requiredComponents", "renderer": "skyline", "componentFramework": "glass-easel", "rendererOptions": { "skyline": { "defaultDisplayBlock": true } },
2.pages.json对应页面添加 { "path": "pages/index/index", "style": { "navigationStyle": "custom", "disableScroll": true } }, 3.开发工具勾选skyline引擎渲染
{ "path": "pages/index/index", "style": { "navigationStyle": "custom", "disableScroll": true } },
不支持skyline
开启skyline引擎渲染步骤: 1.在manifest.json添加
"lazyCodeLoading": "requiredComponents", "renderer": "skyline", "componentFramework": "glass-easel", "rendererOptions": { "skyline": { "defaultDisplayBlock": true } },
2.pages.json对应页面添加
{ "path": "pages/index/index", "style": { "navigationStyle": "custom", "disableScroll": true } },
3.开发工具勾选skyline引擎渲染