|
|
%!s(int64=5) %!d(string=hai) anos | |
|---|---|---|
| .. | ||
| e2e | %!s(int64=6) %!d(string=hai) anos | |
| scripts | %!s(int64=5) %!d(string=hai) anos | |
| src | %!s(int64=5) %!d(string=hai) anos | |
| .gitignore | %!s(int64=5) %!d(string=hai) anos | |
| .npmignore | %!s(int64=5) %!d(string=hai) anos | |
| README.md | %!s(int64=5) %!d(string=hai) anos | |
| angular.json | %!s(int64=5) %!d(string=hai) anos | |
| package.json | %!s(int64=5) %!d(string=hai) anos | |
| tsconfig.json | %!s(int64=5) %!d(string=hai) anos | |
| tsconfig.lib.json | %!s(int64=5) %!d(string=hai) anos | |
| tsconfig.lib.prod.json | %!s(int64=5) %!d(string=hai) anos | |
| tslint.json | %!s(int64=5) %!d(string=hai) anos | |
| yarn.lock | %!s(int64=6) %!d(string=hai) anos | |
This is the administration interface for Vendure.
It is an Angular application built with the Angular CLI.
The UI is powered by the Clarity Design System.
The Admin UI is structured as an Angular library conforming to the ng-packagr format. This library is what is published to npm as @vendure/admin-ui. The libary consists
of a set of modules which are accessible from consuming applications as sub-packages:
@vendure/admin-ui/core@vendure/admin-ui/catalog@vendure/admin-ui/ordersetc. These library packages are located at ./src/lib
When built with yarn build, the output will be located in the ./package sub directory. This is also the root of the published npm package.
In addition to the library, there is also a full application located at ./src/app. This application is used both during development of the Admin UI, and also as the "default" Admin UI without any UI extensions, as provided as the default by the admin-ui-plugin.
Localization of UI strings is handled by ngx-translate. The translation strings should use the ICU MessageFormat.
Translation keys are automatically extracted by running:
yarn extract-translations
This will add any new translation keys to the default language file located in ./src/lib/static/i18n-messages/en.json.
To extract translations into other language, run the same command as specified in the extract-translations npm script, but substitute the "en" in "en.json" with the ISO 639-1 2-character language code for that language.