1 Star 0 Fork 1

amandatsalis/kava-explorer

forked from KKDP/kava-explorer 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nuxt.config.js 3.06 KB
一键复制 编辑 原始数据 按行查看 历史
Angelo 提交于 2019-10-18 19:35 . background color
import colors from "vuetify/es5/util/colors";
import {
BASE_TITLE,
BASE_DESCRIPTION
} from "./assets/variables";
require("dotenv").config();
export default {
mode: "spa",
/*
** Headers of the page
*/
head: {
title: BASE_TITLE.replace("", ""),
meta: [{
charset: "utf-8"
},
{
name: "viewport",
content: "width=device-width, initial-scale=1"
},
{
hid: "description",
name: "description",
content: BASE_DESCRIPTION
},
{
hid: "og-title",
name: "og:title",
content: BASE_TITLE.replace("", "")
},
{
hid: "og-description",
name: "og:description",
content: BASE_DESCRIPTION
}
],
link: [{
rel: "icon",
type: "image/png",
size: "32x32",
href: "/favicon/favicon-32x32.png"
},
{
rel: "icon",
type: "image/png",
size: "256x256",
href: "/favicon/favicon-256x256.png"
}
],
script: [{
src: "https://cdn.jsdelivr.net/npm/apexcharts"
},
{
src: "https://cdn.jsdelivr.net/npm/vue-apexcharts"
}
]
},
/*
** Customize the progress-bar color
*/
loading: {
color: "#fff"
},
/*
** Global CSS
*/
css: [],
/*
** Plugins to load before mounting the App
*/
plugins: [{
src: "@/plugins/apexcharts",
ssr: false
},
{
src: "~/plugins/seo-gtag.js",
ssr: false
}
],
/*
** Nuxt.js dev-modules
*/
devModules: ["@nuxtjs/vuetify"],
/*
** Nuxt.js modules
*/
modules: ["@nuxtjs/pwa", "@nuxtjs/apollo", "@nuxtjs/dotenv"],
manifest: {
name: "Kava Explorer",
short_name: "Kava Explorer",
theme_color: "#d50000",
background_color: "#fafafa",
display: "standalone",
Scope: "/",
start_url: "/",
splash_pages: null
},
apollo: {
includeNodeModules: true,
defaultOptions: {
// See 'apollo' definition
// For example: default query options
$query: {
loadingKey: "loading"
// fetchPolicy: 'cache-and-network',
}
},
errorHandler: "~/plugins/apollo-error-handler.js",
clientConfigs: {
default: "@/apollo/config.js"
}
},
/*
** vuetify module configuration
** https://github.com/nuxt-community/vuetify-module
*/
vuetify: {
customVariables: ["~/assets/variables.scss"],
theme: {
dark: false,
themes: {
dark: {
primary: colors.blue.darken2,
accent: colors.grey.darken3,
secondary: colors.amber.darken3,
info: colors.teal.lighten1,
warning: colors.amber.base,
error: colors.deepOrange.accent4,
success: colors.green.accent3
},
light: {
primary: colors.red.accent4
}
}
},
icons: {
iconfont: "mdiSvg" // 'mdi' || 'mdiSvg' || 'md' || 'fa' || 'fa4'
}
},
/*
** Build configuration
*/
build: {
/*
** You can extend webpack config here
*/
extend(config, ctx) {}
}
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/amandatsalis/kava-explorer.git
git@gitee.com:amandatsalis/kava-explorer.git
amandatsalis
kava-explorer
kava-explorer
master

搜索帮助