commit | 365bce5f93f85408cd1b6393e69342e55a0a25ee | [log] [tgz] |
---|---|---|
author | Derick Montague <derick.montague@ibm.com> | Fri Jan 03 08:36:20 2020 -0600 |
committer | Derick Montague <derick.montague@ibm.com> | Fri Feb 07 21:43:30 2020 +0000 |
tree | 9203b794b4f12bc0b0b233bd54f4ed327558093b | |
parent | c65350fb4d63f3b6610264c814ec70a0362570cf [diff] |
Add coding guidelines and component documentation Resubmitting after reverted–original commit here https://gerrit.openbmc-project.xyz/c/openbmc/webui-vue/+/28760 - Update README to include instructions on documentation development - Update vue and vue-template-compiler to be compatible with vuepress Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I72049a5888ef6bea6621d0b7948f57a8e4177666
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:dev
http://localost:8080/