Skip to content

Commit 31a751e

Browse files
authored
chore(release): v0.11.0 (#212)
1 parent d5ba3be commit 31a751e

File tree

3 files changed

+39
-38
lines changed

3 files changed

+39
-38
lines changed

package-lock.json

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",
@@ -47,16 +47,16 @@
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",

src/main.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { createApp } from "vue";
33
import App from "./App.vue";
44
import router from "./router";
55

6-
import Oruga from "@oruga-ui/oruga-next";
6+
import { createOruga, OrugaComponentPlugins } from "@oruga-ui/oruga-next";
77
import Examples from "@oruga-ui/examples";
88

99
// add examples styles
@@ -15,10 +15,8 @@ import { bootstrapConfig } from "./plugins/theme";
1515
// add theme styles
1616
import "./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");

0 commit comments

Comments
 (0)