首页 > 解决方案 > 将带有离子样式的html页面存储在内存中

问题描述

win.loadURL(filePath.resolve('..//page.html'))

^ 这会在新的 BrowserWindow 中加载页面,但没有样式

this.router.navigate(['page'])

^ 这会将我当前的 BrowserWindow 导航到具有离子样式的所需页面

所以我正在寻找的是加载页面的东西,允许我将它存储在内存中,然后将它传递到 BrowserWindow。

标签: angulartypescriptionic-frameworkelectron

解决方案


推荐阅读