Skip to content

Commit

Permalink
Updated: added voicenter-ui library
Browse files Browse the repository at this point in the history
  • Loading branch information
rostvuenet committed Sep 3, 2024
1 parent 7fafed3 commit 674e4b0
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 23 deletions.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export default defineNuxtConfig({
'./modules/addPluginsModule.ts',
'./modules/typedocGenerate.ts'
],
ui: {
disableGlobalStyles: true
},
content: {
// navigation: false,
documentDriven: {
Expand Down Expand Up @@ -76,6 +79,7 @@ export default defineNuxtConfig({
// global: true,
// },
css: [
'@voicenter-team/voicenter-ui-plus/library/style.css',
join(currentDirLocal, 'assets/css/main.css'),
join(currentDirLocal, 'assets/css/tailwind.css')
]
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
},
"dependencies": {
"@nuxt/content": "^2.13.2",
"@nuxt/ui": "^2.17.0",
"@nuxt/image": "^1.7.0",
"@nuxt/ui": "^2.17.0",
"@voicenter-team/voicenter-ui-plus": "^0.5.17",
"nuxt": "^3.12.4",
"typedoc": "^0.26.6",
"typedoc-plugin-markdown": "^4.2.5"
Expand All @@ -29,16 +30,16 @@
"tailwind.config.ts"
],
"devDependencies": {
"@nuxt/fonts": "^0.7.2",
"nuxt-og-image": "^3.0.0-rc.64",
"@nuxt/devtools": "latest",
"@nuxt/eslint-config": "^0.5.0",
"@nuxt/fonts": "^0.7.2",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"@voicenter-team/eslint-config-vue": "^1.0.24",
"@vue/eslint-config-typescript": "^13.0.0",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.26.0",
"nuxt-og-image": "^3.0.0-rc.64",
"sass": "1.77.6",
"typescript": "5.3.3",
"vite-plugin-static-copy": "^1.0.6",
Expand Down
10 changes: 10 additions & 0 deletions plugins/voicenter-ui.client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import VoicenterUI from '@voicenter-team/voicenter-ui-plus'

export default defineNuxtPlugin(nuxtApp => {
nuxtApp.vueApp.use(VoicenterUI, {
themeConfig: {
type: 'local',
themeName: 'redGreen'
}
})
})
Loading

0 comments on commit 674e4b0

Please sign in to comment.