pcpuma_unam_operador/nuxt.config.js

42 lines
1016 B
JavaScript
Raw Normal View History

2022-05-30 23:08:35 +00:00
export default {
ssr: false,
2022-08-09 23:29:33 +00:00
server: { port: process.env.PORT },
2022-05-30 23:08:35 +00:00
target: 'static',
head: {
2022-08-08 02:09:28 +00:00
title: 'PC Puma',
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: [],
2023-02-21 18:26:09 +00:00
plugins: ['~/plugins/inject.js', '~/plugins/chart.js'],
2022-05-30 23:08:35 +00:00
components: true,
buildModules: [],
2023-02-02 16:58:41 +00:00
modules: ['@nuxtjs/axios', 'nuxt-buefy', '@nuxtjs/pwa', 'nuxt-socket-io'],
2022-05-30 23:08:35 +00:00
axios: {},
build: {},
2022-09-09 06:18:11 +00:00
pwa: {
manifest: {
lang: 'es',
name: 'PC Puma',
short_name: 'PC Puma',
},
},
2022-07-04 19:28:22 +00:00
io: {
2022-08-09 23:29:33 +00:00
sockets: [{ name: 'main', url: process.env.SOCKET_URL }],
2022-07-04 19:28:22 +00:00
},
2022-05-30 23:08:35 +00:00
env: {
2022-08-09 23:29:33 +00:00
api: process.env.API_URL,
path: process.env.PATH_URL,
2023-02-02 16:58:41 +00:00
hcaptchakey: process.env.HCAPTCHA_KEY,
2023-04-18 08:09:45 +00:00
addHora: process.env.ADD_HORA,
addHora2: process.env.ADD_HORA_2,
2022-05-30 23:08:35 +00:00
},
}