Skip to content

Commit

Permalink
added nuxt-bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
wommy committed Oct 17, 2024
1 parent f2102a0 commit c67c586
Show file tree
Hide file tree
Showing 4 changed files with 16,612 additions and 9,628 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
/metadata/
/client/.nuxt/
/client/dist/
/client/dist
/client/.output/
/dist/
/deploy/
/coverage/
Expand Down
9 changes: 6 additions & 3 deletions client/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
const pkg = require('./package.json')
import { defineNuxtConfig } from '@nuxt/bridge'
import pkg from './package.json'

const routerBasePath = process.env.ROUTER_BASE_PATH || ''
const serverHostUrl = process.env.NODE_ENV === 'production' ? '' : 'http://localhost:3333'

module.exports = {
export default defineNuxtConfig({
// Disable server-side rendering: https://go.nuxtjs.dev/ssr-mode
ssr: false,
target: 'static',
Expand Down Expand Up @@ -136,6 +137,8 @@ module.exports = {
host: '0.0.0.0'
},

bridge: false,

/**
* Temporary workaround for @nuxt-community/tailwindcss-module.
*
Expand All @@ -145,4 +148,4 @@ module.exports = {
devServerHandlers: [],

ignore: ['**/*.test.*', '**/*.cy.*']
}
})
Loading

0 comments on commit c67c586

Please sign in to comment.