File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ or at https://technokrat.ch
42
42
```
43
43
4 . Include ` vuexr ` CSS-styles in your top package:
44
44
``` css
45
- @import ' vuexr' ;
45
+ @import ' vuexr/style ' ;
46
46
```
47
47
5 . Copy the ` worker.*.js ` file within the ` node_modules/vuexr/assets/ ` folder into your public path under ` /assets/ ` . Example for Vite:
48
48
``` js
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vuexr" ,
3
- "version" : " 0.5.1 " ,
3
+ "version" : " 0.5.2 " ,
4
4
"description" : " VueXR is a Vue plugin that let's you project regular DOM components onto augmented reality (AR) markers in real-time." ,
5
5
"engines" : {
6
6
"yarn" : " >=1.22.19" ,
9
9
"files" : [
10
10
" dist/**/*.js" ,
11
11
" dist/**/*.cjs" ,
12
- " dist/**/*.mjs" ,
13
- " dist/**/*.umd.js" ,
14
12
" dist/**/*.d.ts" ,
15
13
" dist/**/*.d.ts.map" ,
16
14
" dist/**/*.css" ,
17
15
" dist/**/*.html" ,
18
16
" src/opencv/build_simd/opencv.js"
19
17
],
20
- "main" : " dist/vuexr.umd.js" ,
21
- "module" : " dist/vuexr.mjs" ,
18
+ "type" : " module" ,
19
+ "main" : " dist/vuexr.umd.cjs" ,
20
+ "module" : " dist/vuexr.js" ,
22
21
"types" : " dist/index.d.ts" ,
23
22
"style" : " dist/style.css" ,
24
23
"exports" : {
25
24
"." : {
26
- "import" : " ./dist/vuexr.mjs " ,
27
- "require" : " ./dist/vuexr.umd.js "
25
+ "import" : " ./dist/vuexr.js " ,
26
+ "require" : " ./dist/vuexr.umd.cjs "
28
27
},
28
+ "./style" : " ./dist/style.css" ,
29
29
"./opencv" : " ./src/opencv/build_simd/opencv.js"
30
30
},
31
31
"scripts" : {
You can’t perform that action at this time.
0 commit comments