Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 77f948c

Browse files
authored
feat: upgrade @oruga-ui/oruga to version 0.3.3 (#717)
1 parent cf2461b commit 77f948c

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@oruga-ui/oruga": "^0.2.2"
3+
"@oruga-ui/oruga": "^0.3.3"
44
}
55
}

packages/cna-template/template/frameworks/oruga/pages/index.vue

+16-3
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
Oruga UI is like a caterpillar, minimal and yet functional.<br>It's in your hands turning it into a butterfly.
99
</p>
1010
<div class="buttons">
11-
<o-button size="large" variant="primary" @click="goToDocs()">
11+
<o-button root-class="button" variant-class="button-" variant="light" @click="goToDocs()">
1212
Documentation
1313
</o-button>
14-
<o-button size="large" variant="info" @click="goToGithub()">
14+
<o-button root-class="button" variant-class="button-" variant="dark" @click="goToGithub()">
1515
GitHub
1616
</o-button>
1717
</div>
@@ -23,7 +23,7 @@ export default {
2323
name: 'HomePage',
2424
methods: {
2525
goToDocs () {
26-
window.location = 'https://oruga.io/documentation/'
26+
window.location = 'https://oruga.io/documentation/#nuxt-module'
2727
},
2828
goToGithub () {
2929
window.location = 'https://github.com/oruga-ui/oruga'
@@ -81,4 +81,17 @@ export default {
8181
.buttons {
8282
padding-top: 15px;
8383
}
84+
85+
.button {
86+
padding: 1rem;
87+
min-width: 10rem;
88+
}
89+
90+
.button-light {
91+
background-color: #9dbe43;
92+
}
93+
94+
.button-dark {
95+
background-color: #293923;
96+
}
8497
</style>

packages/create-nuxt-app/test/snapshots/index.test.js.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ Generated by [AVA](https://avajs.dev).
11891189
11901190
{
11911191
dependencies: {
1192-
'@oruga-ui/oruga': '^0.2.2',
1192+
'@oruga-ui/oruga': '^0.3.3',
11931193
'core-js': '^3.8.3',
11941194
nuxt: '^2.14.12',
11951195
},
Binary file not shown.

0 commit comments

Comments
 (0)