ovh-ui-angular
v3.16.3
Published
A set of maintainable components for the OVH ecosystem (Angular).
Downloads
334
Keywords
Readme
OVH UI Kit (AngularJS)
A set of maintainable components for the OVH ecosystem (AngularJS).
Installation
Prerequisites
This library has been tested with AngularJS 1.6+.
You will also need these dependencies in your project:
- angular-aria
- angular-sanitize
- flatpickr for Calendar component
- ovh-ui-kit
Follow the guide for ovh-ui-kit, because you need to integrate it by yourself.
Install with npm
npm install ovh-ui-angular
Install with yarn
yarn add ovh-ui-angular
Install with bower (deprecated)
bower install --save ovh-ui-angular
Usage
Integration
- In your
index.html
, you need to loadoui-angular.min.js
:
...
<script src="ovh-ui-angular/dist/oui-angular.min.js" type="text/javascript"></script>
...
- You need to add
oui
in your angular module dependencies like that:
angular.module("myAwesomeApp", [
...
"oui"
...
]);
Develop
Run in development mode
- Clone and install
ovh-ui-angular
git clone https://github.com/ovh-ux/ovh-ui-angular.git
cd ovh-ui-angular
yarn install
yarn link
- Run
ovh-ui-angular
with ovh-ui-kit-documentation
git clone https://github.com/ovh-ux/ovh-ui-kit-documentation.git
cd ovh-ui-kit-documentation
yarn install
yarn link ovh-ui-angular
yarn start
Hot reload
Once you have yarn start
-ed the project, you can edit anything with an automatic browser refresh as a result.
Contributing
You've developed a new cool feature? Fixed an annoying bug? We'd be happy to hear from you!
see CONTRIBUTING
And read this quick start.
Related links
- Contribute: https://github.com/ovh-ux/ovh-ui-angular/blob/master/CONTRIBUTING.md
- Report bugs: https://github.com/ovh-ux/ovh-ui-angular/issues
- Get latest version: https://github.com/ovh-ux/ovh-ui-angular
Documentation
Documentation is available from the packages/
folder, every package is self-documented throught a README.md
file. But you can also check bellow.
License
See https://github.com/ovh-ux/ovh-ui-angular/blob/master/LICENSE