承接 oxygen/ui-theme 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

oxygen/ui-theme

最新稳定版本:0.10.0

Composer 安装命令:

composer require oxygen/ui-theme

包简介

Oxygen User Interface

README 文档

README

This repository contains the legacy front-end of Oxygen.

For more information visit the Core repository.

Migration to Vue.js

The Vue.js migration is not happening inside this repository. Instead, most of the excitement is in the @oxygen-cms/ui npm package.

This UI is being gradually gutted as components are replaced with the Vue.js versions. The first component to go was the Main Navigation bar at the top fo the screen.

The integration between the two UI frameworks is done through the use of an <iframe>. When a legacy page is requested, the Vue.js UI will load the legacy page inside an iframe, and set up a number of global hooks to allow the legacy page inside the iframe to communicate with the parent page. These hooks include:

  • window.Oxygen.onNavigationBegin - called when a new page is loaded internally using SmoothState.js
  • window.Oxygen.onNavigationEnd - called when navigation is finished and e.g.: the parent title should be updated
  • window.Oxygen.notify - called to show a notification in the parent page.
  • window.Oxygen.openAlertDialog - shows an alert
  • window.Oxygen.openConfirmDialog - shows a confirmation dialog
  • window.Oxygen.popState - navigate one entry backwards in the history

Development

yarn install
npx webpack

统计信息

  • 总下载量: 370
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-08