Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 043059c

Browse files
committed
Merge branch 'wajatimur-master'
2 parents 6b49994 + 801258e commit 043059c

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,23 @@ AngularJS-native version of [Select2](http://ivaynberg.github.io/select2/) and [
2323

2424
For the roadmap, check [issue #3](https://github.com/angular-ui/ui-select/issues/3) and the [Wiki page](https://github.com/angular-ui/ui-select/wiki/Roadmap).
2525

26+
## Installation using [Composer](http://getcomposer.org/)
27+
28+
Make sure composer is install globally before we proceed. After that we need to add below piece of code in `composer.json` file located inside your project root folder.
29+
30+
```
31+
{
32+
"require": {
33+
"components/ui-select": "dev-master"
34+
}
35+
}
36+
```
37+
38+
- Run `composer update` and composer will install the component.
39+
- Inside your HTML add below script and link tags.
40+
- select.js: `<script src="components/ui-select/dist/select.min.js"></script>`
41+
- select.css: `<link rel="stylesheet" href="components/ui-select/dist/select.min.css">`
42+
2643

2744
## Development
2845

composer.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "components/ui-select",
3+
"description": "AngularJS UI Select",
4+
"keywords": ["angular", "angular-ui", "select", "select2", "angularjs"],
5+
"type": "component",
6+
"homepage": "https://github.com/angular-ui/ui-select",
7+
"license": "MIT",
8+
"support": {
9+
"issues": "https://github.com/angular-ui/ui-select/issues",
10+
"wiki": "https://github.com/angular-ui/ui-select/wiki",
11+
"source": "https://github.com/angular-ui/ui-select"
12+
},
13+
"require": {
14+
"robloach/component-installer": "*"
15+
},
16+
"extra": {
17+
"component": {
18+
"scripts": [
19+
"dist/select.js"
20+
],
21+
"files": [
22+
"dist/select.js",
23+
"dist/select.css",
24+
"dist/select.min.js",
25+
"dist/select.min.css"
26+
]
27+
}
28+
}
29+
}

0 commit comments

Comments
 (0)