Skip to content

Commit

Permalink
fix: install and configure oruga
Browse files Browse the repository at this point in the history
  • Loading branch information
dxphilo committed Aug 8, 2023
1 parent c5a2c93 commit be0c8e3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 5 deletions.
1 change: 1 addition & 0 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export default defineNuxtConfig({
'~/plugins/vueClipboard',
'~/plugins/vueSocialSharing',
'~/plugins/vueTippy',
'~plugins/oruga.ts',
],

router: {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"@nuxtjs/i18n": "^7.3.1",
"@nuxtjs/sentry": "^7.3.1",
"@nuxtjs/sitemap": "thisismydesign/sitemap-module#cd4dc22293b9b67e8ebb5b3c49840e67c108e312",
"@oruga-ui/oruga-next": "^0.6.0",
"@paraspell/sdk": "^2.0.5",
"@pinia/nuxt": "^0.4.11",
"@polkadot/api": "^10.6.1",
Expand All @@ -89,6 +90,7 @@
"@polkadot/vue-identicon": "^3.3.1",
"@ramp-network/ramp-instant-sdk": "^3.2.3",
"@sentry/browser": "7.42.0",
"add": "^2.0.6",
"apollo-boost": "^0.4.9",
"axios": "^0.27.2",
"buefy": "^0.9.23",
Expand Down
7 changes: 7 additions & 0 deletions plugins/oruga.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { defineNuxtPlugin } from '@nuxt/bridge/dist/runtime/app'
import Oruga from '@oruga-ui/oruga-next'
import '@oruga-ui/oruga-next/dist/oruga.css'

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.use(Oruga)
})
28 changes: 23 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit be0c8e3

Please sign in to comment.