kucherenko / ol0lo

0 stars 0 forks source link

Set default port for the nuxt app #58

Closed kucherenko closed 1 year ago

kucherenko commented 1 year ago

Update nuxt config and set the default port to 8080.

go:
brian-ai-assistant-dev[bot] commented 1 year ago

Working branch

feature/58-update-default-port

Pull request

Implement task #58 - Set default port for the nuxt app

To set the default port for the Nuxt app to 8080, we need to update the 'nuxt.config.js' file. We will add a 'server' configuration object to the existing Nuxt config and set the 'port' property to 8080. Here is the updated content for 'nuxt.config.js':

export default {
  // Nuxt.js modules
  modules: [
    '@nuxtjs/tailwindcss',
    '@nuxtjs/eslint-module',
  ],
  // Tailwind CSS configuration
  tailwindcss: {
    jit: true,
  },
  // ESLint configuration
  eslint: {
    cache: false,
  },
  // Build configuration
  build: {
    postcss: {
      plugins: {
        tailwindcss: {},
        autoprefixer: {},
      }
    }
  },
  // Server configuration
  server: {
    port: 8080,
  }
}