commit | 511650a90260e0922bfeb1091b4babc597d36af6 | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Sat Apr 20 16:36:00 2024 -0700 |
committer | Ed Tanous <ed@tanous.net> | Fri Apr 26 05:09:46 2024 +0000 |
tree | 5295a081eb0d0d13382a2b7c5f8b07dab9e76097 | |
parent | 740cbd525fa619e6a4190ec08c80f45ae72435eb [diff] |
Allow the favicon to be cached The favicon is currently loaded directly by url. This commit changes it to be loaded by file-loader. Note, the default vue webpack file loader doesn't support ico file types (because it seems to expect to use a png here), so add that to the file loader config. This allows bmcweb [1] to provide caching headers for the favicon, and avoid downloading a new favicon on every refresh. Tested: Webui-vue loads, favicon in the network panel loads properly. [1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/70644 Change-Id: I27e5b459ff8822294ac9273220111e9944e8d1e5 Signed-off-by: Ed Tanous <ed@tanous.net>
webui-vue is a web-based user interface for the OpenBMC firmware stack built on Vue.js.
phosphor-webui was built on AngularJS and AngularJS went End of Life on June 30, 2021. This repository is its replacement.
A few, mostly minor, features remain for feature parity. See GitHub Issues label:phosphor-webui-feature-parity for the complete list.
As mentioned, this application is built using Vue.js, a modern open-source Model-View-ViewModel JavaScript framework supported by an active community and strong documentation. It has been architected to allow organizations to easily update the theme to support their brand. This rewrite takes advantage of front-end development best practices and does not suffer from some of the anti-patterns that exist in phosphor-webui today.
It is recommended you switch from phosphor-webui if you haven't already.
webui-vue has the following additional features:
The documentation for coding standards and components is located in the docs
directory. It is created using the VuePress static site generator. Information about how to write documentation can be found on the VuePress website.