File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -20,25 +20,25 @@ Existing conversations (please notify if this needs an update):
20
20
## Install
21
21
22
22
``` shell
23
- npm install custom-attributes --save
23
+ npm install @lume/ custom-attributes --save
24
24
```
25
25
26
26
Add as a script tag:
27
27
28
28
``` html
29
- <script src =" node_modules/custom-attributes/attr .js" defer ></script >
29
+ <script src =" node_modules/@lume/ custom-attributes/dist/index .js" type = " module " ></script >
30
30
```
31
31
32
32
Or import as an ES module:
33
33
34
34
``` js
35
- import customAttributes from ' custom-attributes'
35
+ import { customAttributes } from ' @lume/ custom-attributes'
36
36
```
37
37
38
38
Or you can just import the CustomAttributeRegistry and create your own instance:
39
39
40
40
``` js
41
- import {CustomAttributeRegistry } from ' custom-attributes'
41
+ import {CustomAttributeRegistry } from ' @lume/ custom-attributes'
42
42
43
43
const customAttributes = new CustomAttributeRegistry (document )
44
44
```
Original file line number Diff line number Diff line change 24
24
},
25
25
"repository" : {
26
26
"type" : " git" ,
27
- "url" : " git+https://github.com/matthewp /custom-attributes.git"
27
+ "url" : " git+https://github.com/lume /custom-attributes.git"
28
28
},
29
29
"keywords" : [
30
30
" web" ,
33
33
"author" : " Matthew Phillips" ,
34
34
"license" : " BSD-2-Clause" ,
35
35
"bugs" : {
36
- "url" : " https://github.com/matthewp /custom-attributes/issues"
36
+ "url" : " https://github.com/lume /custom-attributes/issues"
37
37
},
38
- "homepage" : " https://github.com/matthewp /custom-attributes#readme" ,
38
+ "homepage" : " https://github.com/lume /custom-attributes#readme" ,
39
39
"devDependencies" : {
40
40
"@lume/cli" : " ^0.14.0" ,
41
41
"prettier" : " 3.0.3" ,
You can’t perform that action at this time.
0 commit comments