oxygen / ui-theme
Oxygen 用户界面
0.10.0
2024-04-01 09:42 UTC
Requires
- php: ^8.1
- illuminate/support: ^10.0
- oxygen/auth: ~0.8.0
- oxygen/preferences: ~0.6.0
Requires (Dev)
- phpstan/phpstan: ^0.12.18
- dev-master
- 0.10.0
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.1
- 0.6.0
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.14
- 0.4.13
- 0.4.12
- 0.4.11
- 0.4.10
- 0.4.9
- 0.4.8
- 0.4.7
- 0.4.6
- 0.4.5
- 0.4.4
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-laravel10
- dev-dependabot/npm_and_yarn/webpack-5.76.0
- dev-dependabot/npm_and_yarn/terser-5.16.1
- dev-dependabot/npm_and_yarn/markdown-it-and-modernizr-12.3.2
- dev-dependabot/npm_and_yarn/loader-utils-2.0.4
- dev-prod-output
- dev-insert-image
- dev-update_deps
This package is auto-updated.
Last update: 2024-08-31 00:33:14 UTC
README
此仓库包含 Oxygen 的传统前端代码。
有关更多信息,请访问核心 仓库。
迁移到 Vue.js
Vue.js 迁移不是在这个仓库中进行的。相反,大部分兴奋点都在 @oxygen-cms/ui npm 包中。
随着组件被 Vue.js 版本替换,此 UI 正在逐渐被拆解。首先被替换的是屏幕顶部的导航栏。
两个 UI 框架之间的集成是通过使用 <iframe> 实现的。当请求传统页面时,Vue.js UI 将在 iframe 中加载传统页面,并设置一系列全局钩子,以允许 iframe 中的传统页面与父页面通信。这些钩子包括
window.Oxygen.onNavigationBegin- 当使用 SmoothState.js 在内部加载新页面时被调用window.Oxygen.onNavigationEnd- 当导航完成时被调用,例如:父页面的标题应该被更新window.Oxygen.notify- 被调用以在父页面中显示通知window.Oxygen.openAlertDialog- 显示一个警告window.Oxygen.openConfirmDialog- 显示一个确认对话框window.Oxygen.popState- 在历史记录中后退一个条目
开发
yarn install
npx webpack