3 Star 1 Fork 0

ifangxiao/xianyun_4

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
nuxt.config.js 1.99 KB
一键复制 编辑 原始数据 按行查看 历史
export default {
/*
** Nuxt rendering mode
** See https://nuxtjs.org/api/configuration-mode
*/
mode: 'universal',
/*
** Nuxt target
** See https://nuxtjs.org/api/configuration-target
*/
target: 'server',
/*
** Headers of the page
** See https://nuxtjs.org/api/configuration-head
*/
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' },
{ rel: 'stylesheet', type: 'text/css', href: '//at.alicdn.com/t/font_1168872_ehvuah8v57g.css' },
{ rel: 'stylesheet', type: 'text/css', href: '//at.alicdn.com/t/font_2053455_v2kbj7riry.css' }
]
},
/*
** Global CSS
*/
css: [
'element-ui/lib/theme-chalk/index.css',
'assets/main.css'
],
/*
** Plugins to load before mounting the App
** https://nuxtjs.org/guide/plugins
*/
plugins: [
'@/plugins/element-ui',
{ src: '@/plugins/localStorage', ssr: false },
{ src: '~/plugins/vue-editor.js', mode: 'client' },
{ src: '~/plugins/date.js', ssr: false },
'~/plugins/axios',
"@/plugins/vue-map"
],
/*
** Auto import components
** See https://nuxtjs.org/api/configuration-components
*/
components: true,
/*
** Nuxt.js dev-modules
*/
buildModules: [
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios',
'@nuxtjs/dayjs',
],
dayjs: {
locales: ['en', 'ja'],
defaultLocale: 'en'
},
/*
** Axios module configuration
** See https://axios.nuxtjs.org/options
*/
axios: {
//baseURL: 'http://127.0.0.1:1337',
baseURL: 'http://157.122.54.189:9095'
},
/*
** Build configuration
** See https://nuxtjs.org/api/configuration-build/
*/
build: {
transpile: [/^element-ui/],
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ifangxiao/xianyun_4.git
[email protected]:ifangxiao/xianyun_4.git
ifangxiao
xianyun_4
xianyun_4
master

搜索帮助