angular - 将带有离子样式的html页面存储在内存中
问题描述
win.loadURL(filePath.resolve('..//page.html'))
^ 这会在新的 BrowserWindow 中加载页面,但没有样式
this.router.navigate(['page'])
^ 这会将我当前的 BrowserWindow 导航到具有离子样式的所需页面
所以我正在寻找的是加载页面的东西,允许我将它存储在内存中,然后将它传递到 BrowserWindow。
解决方案
推荐阅读
- javascript - 使用 XMLHttpRequest 在 JSON 存储 JSON 文件中编辑用户
- django - Django 管理员在尝试登录管理站点时调用 ```.save()``` 方法
- sql - SQL 窗口函数在订单级别查找每个客户的第二高订单日期
- python - 有没有办法循环遍历 Pandas 数据框?
- r - 如何删除其中一个值满足条件的所有行?应用()不工作
- r - R:pivot_wider() 扩展数据框
- sql - 如何比较不同表中的 2 列
- excel - 如何在 Excel 中制作两列过滤器?
- java - 包含不显示正确的信息
- r - MASS::glm.nb 包对某些数据集返回错误