Files
pcpuma_admin/nuxt.config.js
T
2020-09-08 15:40:05 -05:00

30 lines
723 B
JavaScript

export default {
server: { port: 3000 },
mode: 'spa',
target: 'server',
head: {
title: process.env.npm_package_name || '',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{
hid: 'description',
name: 'description',
content: process.env.npm_package_description || '',
},
],
link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
},
css: [],
plugins: [],
components: true,
buildModules: ['@nuxtjs/eslint-module'],
modules: ['bootstrap-vue/nuxt'],
build: {},
env: {
// api: "http://localhost:3000"
api: 'https://edb8f6f9b43d.ngrok.io',
// api: "http://"
},
}