commit | c85395f21d7e27ba16f4b9005e7f2f2452cdd7f8 | [log] [tgz] |
---|---|---|
author | Dixsie Wolmers <dixsie@ibm.com> | Wed Feb 26 13:22:12 2020 -0600 |
committer | Dixsie Wolmers <dixsie@ibm.com> | Fri Mar 06 16:10:31 2020 +0000 |
tree | a93812a8cc60404120b8ae3d913afed91f1181f7 | |
parent | 9fc3f90ac221bbe6b6d5b795e7fbaac68b17b7b6 [diff] |
Persist language settings using local storage When user logs in, language setting will be stored in local storage. Once stored, user does not have to re-select preferred language, but can still update language settings on the login page. Before a language is saved to local storage the locale = null Renamed 'en.json' to 'en-US' because the vue i18n plugin defaults to 'en-US' when a language is not selected or null. https://github.com/kazupon/vue-i18n/blob/v8.x/src/index.js#L67 Signed-off-by: Dixsie Wolmers <dixsie@ibm.com> Change-Id: I577db3c4578eab30fbfae997dad0ece456fdf231
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