aurelia-bootstrap-tagsinput
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "aurelia-bootstrap-tagsinput", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "An Aurelia Custom Element for the 3rd party addon [Bootstrap Tags Input]", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -90,12 +90,25 @@ # Aurelia-Bootstrap-Tagsinput | ||
#### Aurelia-CLI | ||
For `CLI` you will need to add (`aurelia-bootstrap-tagsinput`) to your `aurelia.json` file. The exported class is `aba-tags-input`. | ||
For `CLI` you will need to add (`bootstrap-tagsinput` and `aurelia-bootstrap-tagsinput`) to your `aurelia.json` file. | ||
```javascript | ||
{ | ||
"name": "aba-tags-input", | ||
"name": "bootstrap-tagsinput", | ||
"path": "../node_modules/bootstrap-tagsinput", | ||
"main": "dist/bootstrap-tagsinput.min", | ||
"resources": [ | ||
"dist/bootstrap-tagsinput.css" | ||
] | ||
}, | ||
{ | ||
"name": "aurelia-bootstrap-tagsinput", | ||
"path": "../node_modules/aurelia-bootstrap-tagsinput/dist/amd", | ||
"main": "index", | ||
"resources": ["**/*.{css,html}"] | ||
} | ||
}, | ||
``` | ||
_index.html_ | ||
```html | ||
<link rel="stylesheet" type="text/css" href="../node_modules/bootstrap-tagsinput/dist/bootstrap-tagsinput.css"> | ||
``` | ||
#### Aurelia (main) | ||
@@ -105,2 +118,5 @@ Make the plugin available globally in your `main.js` file. Please note the exported class is `aba-tags-input` (`aba` stands for `Aurelia-Bootstrap-Addon`) | ||
```javascript | ||
// for WebPack only, also import CSS | ||
// import 'bootstrap-tagsinput/dist/bootstrap-tagsinput.css'; | ||
export function configure(aurelia) { | ||
@@ -110,3 +126,3 @@ aurelia.use | ||
.developmentLogging() | ||
.plugin('aba-tags-input') | ||
.plugin('aurelia-bootstrap-tagsinput') | ||
.feature('resources'); | ||
@@ -113,0 +129,0 @@ |
74630
130