commit | 20d8c1867088f47cd970e7cf76a0f8c0c723b6f7 | [log] [tgz] |
---|---|---|
author | Gunnar Mills <gmills@us.ibm.com> | Thu May 14 11:40:06 2020 -0500 |
committer | Gunnar Mills <gmills@us.ibm.com> | Thu May 14 11:58:14 2020 -0500 |
tree | a4c9515a172b07ca18dd6fd03b25865662543641 | |
parent | e9800b51f1faf5f442f05ed0b2310553d98c067c [diff] |
Move node to >=12.14.1 Currently, OpenBMC uses node 12.14.1. https://github.com/openbmc/openbmc/blob/master/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_12.14.1.bb OpenBMC gets this recipe from meta-openembedded. Moved the node required to ">=12.14.1" to allow this. https://github.com/openbmc/webui-vue/commit/b346406f3aa407869a3c868fb14322fc529673a3 moved to node 12.16.x. Without this change was seeing (when building an image with webui-vue replacing phosphor-webui): | > check-node-version --package && vue-cli-service build | | node: 12.14.1 | Wanted node version 12.16.x (>=12.16.0 <12.17.0) | To install node, see https://nodejs.org/download/release/v12.16.0/ | npm ERR! code ELIFECYCLE | npm ERR! errno 1 | npm ERR! webui-vue@0.1.0 build: `check-node-version --package && vue-cli-service build` | npm ERR! Exit status 1 | npm ERR! | npm ERR! Failed at the webui-vue@0.1.0 build script. Tested: Built and loaded on a Witherspoon. No regressions observed. Change-Id: I20fc81ccebc9a1eb37294e3966dc657836f08064 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
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 goes End of Life June 30, 2021, so this repository is hopefully its replacement. At this time, phosphor-webui still contains more features and you should consider using it.
The current plan is by June 2020!
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.
Visit the CONTRIBUTING.md for more on how to contribute code, review some code in Gerrit, or join us in the GUI design workgroup meeting.
npm install
npm run serve
npm run build
npm run test:unit
npm run lint
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.
Run npm docs:serve