pcpuma_unam_operador/nuxt.config.js

42 lines
1010 B
JavaScript
Raw Normal View History

2022-05-30 23:08:35 +00:00
export default {
ssr: false,
2022-07-04 19:28:22 +00:00
server: { port: 3014 },
2022-05-30 23:08:35 +00:00
target: 'static',
head: {
2022-05-30 23:52:52 +00:00
title: 'pcpuma_unam_operador',
2022-05-30 23:08:35 +00:00
htmlAttrs: {
lang: 'es',
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
css: [],
plugins: [],
components: true,
buildModules: [],
2022-07-04 19:28:22 +00:00
modules: ['nuxt-buefy', '@nuxtjs/axios', 'nuxt-socket-io'],
2022-05-30 23:08:35 +00:00
axios: {},
build: {},
2022-07-04 19:28:22 +00:00
io: {
sockets: [
{
name: 'main',
2022-07-08 18:23:45 +00:00
url: 'http://localhost:3000',
// url: 'http://pmodulospcpuma.unam.mx',
2022-07-04 19:28:22 +00:00
},
],
},
2022-05-30 23:08:35 +00:00
env: {
2022-07-08 18:23:45 +00:00
api: 'http://localhost:3000',
// api: 'http://pmodulospcpuma.unam.mx/pcpumaUnam_test',
2022-07-04 19:28:22 +00:00
// api: 'https://pmodulospcpuma.unam.mx/',
2022-07-08 18:23:45 +00:00
path: '/socket.io/',
// path: '/pcpumaUnam_test/socket.io/',
2022-07-04 19:28:22 +00:00
// path: '/pcpumaUnam/socket.io/',
2022-05-30 23:08:35 +00:00
},
}