kucherenko / ol0lo

0 stars 0 forks source link

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

Closed brian-ai-assistant-dev[bot] closed 1 year ago

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

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,
  }
}
netlify[bot] commented 1 year ago

Deploy Preview for willowy-kleicha-1542e1 ready!

Name Link
Latest commit cd2cd356d8c4c1bcdfab6a37849cd98066f96624
Latest deploy log https://app.netlify.com/sites/willowy-kleicha-1542e1/deploys/64b1195c04b455000875c872
Deploy Preview https://deploy-preview-59--willowy-kleicha-1542e1.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.