File tree Expand file tree Collapse file tree 3 files changed +39
-38
lines changed
Expand file tree Collapse file tree 3 files changed +39
-38
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @oruga-ui/theme-bootstrap" ,
3- "version" : " 0.10.4 " ,
3+ "version" : " 0.11.0 " ,
44 "description" : " Bootstrap theme for Oruga" ,
55 "license" : " MIT" ,
66 "type" : " module" ,
4747 "update" : " ncu -u"
4848 },
4949 "peerDependencies" : {
50- "@oruga-ui/oruga-next" : " ^0.13.0-pre.2 "
50+ "@oruga-ui/oruga-next" : " ^0.13.0"
5151 },
5252 "dependencies" : {
5353 "bootstrap" : " ^5.3.8"
5454 },
5555 "devDependencies" : {
5656 "@eslint/compat" : " ^2.0.2" ,
5757 "@eslint/js" : " ^10.0.1" ,
58- "@oruga-ui/examples" : " ^0.13.0-pre.2 " ,
59- "@oruga-ui/oruga-next" : " ^0.13.0-pre.2 " ,
58+ "@oruga-ui/examples" : " ^0.13.1 " ,
59+ "@oruga-ui/oruga-next" : " ^0.13.1 " ,
6060 "@tsconfig/node24" : " ^24.0.4" ,
6161 "@types/node" : " ^25.3.3" ,
6262 "@vitejs/plugin-vue" : " ^6.0.4" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { createApp } from "vue";
33import App from "./App.vue" ;
44import router from "./router" ;
55
6- import Oruga from "@oruga-ui/oruga-next" ;
6+ import { createOruga , OrugaComponentPlugins } from "@oruga-ui/oruga-next" ;
77import Examples from "@oruga-ui/examples" ;
88
99// add examples styles
@@ -15,10 +15,8 @@ import { bootstrapConfig } from "./plugins/theme";
1515// add theme styles
1616import "./assets/scss/theme-build.scss" ;
1717
18- createApp ( App )
19- . use ( router )
20- . use ( Oruga , {
21- globalComponents : true ,
18+ const oruga = createOruga (
19+ {
2220 iconPack : "fas" ,
2321 iconComponent : "vue-fontawesome" ,
2422 customIconPacks : {
@@ -32,6 +30,9 @@ createApp(App)
3230 } ,
3331 } ,
3432 ...bootstrapConfig ,
35- } )
36- . use ( Examples )
37- . mount ( "#app" ) ;
33+ } ,
34+ // add all components globally
35+ OrugaComponentPlugins ,
36+ ) ;
37+
38+ createApp ( App ) . use ( router ) . use ( oruga ) . use ( Examples ) . mount ( "#app" ) ;
You can’t perform that action at this time.
0 commit comments