Skip to content

Commit

Permalink
build: update
Browse files Browse the repository at this point in the history
  • Loading branch information
tymon42 committed Aug 24, 2023
1 parent cf89055 commit 4600e47
Show file tree
Hide file tree
Showing 3 changed files with 333 additions and 98 deletions.
16 changes: 15 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,26 @@ export default defineNuxtConfig({
enabled: true,
},
modules: ['@nuxthq/ui', '@nuxtjs/color-mode'],
colorMode: {
classSuffix: '',
},
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},

runtimeConfig: {
public: {
// baseURL: process.env.BASE_URL || 'http://localhost:8888',
// baseURL: 'http://localhost:8888',
baseURL: process.env.BASE_URL,
},
},
routeRules: {
'/api/v1/**': {
proxy: { to: `${process.env.BASE_URL}/api/v1/**` },
},
},
})
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@nuxt/devtools": "^0.5.5",
"@nuxthq/ui": "^2.2.0",
"@nuxthq/ui": "^2.7.0",
"@nuxtjs/color-mode": "^3.2.0",
"@types/node": "^18",
"@types/node": "^20.5.4",
"autoprefixer": "^10.4.14",
"commitizen": "^4.3.0",
"cz-git": "^1.6.1",
Expand Down
Loading

0 comments on commit 4600e47

Please sign in to comment.