assembly/nuxt.config.js

119 lines
4.3 KiB
JavaScript
Raw Permalink Normal View History

2021-07-17 16:50:30 +00:00
export default {
2021-09-06 22:36:09 +00:00
ssr: !process.env.VERCEL,
2021-07-17 16:50:30 +00:00
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
2021-07-17 21:44:21 +00:00
title: 'Assembly',
2021-07-17 16:50:30 +00:00
htmlAttrs: {
lang: 'en'
},
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
2021-09-08 16:49:09 +00:00
{ hid: 'description', name: 'description', content: 'The Open Source Dashboard for the Instadapp Protocol' },
2021-08-14 12:11:20 +00:00
{ name: 'format-detection', content: 'telephone=no' },
{ name: "msapplication-TileColor", content: "#ffffff" },
{ name: "msapplication-TileImage", content: "/ms-icon-144x144.png" },
{ name: "theme-color", content: "#ffffff" },
2021-09-08 16:49:09 +00:00
// FB
{ hid: 'og_type', property: 'og:type', content: 'website' },
{ hid: 'og_url', property: 'og:url', content: 'https://assembly.instadapp.io/' },
{ hid: 'og_title', property: 'og:title', content: 'Assembly' },
{
hid: 'og_image',
property: 'og:image',
content: `https://assembly.instadapp.io/social.jpg`,
},
{
hid: 'og_description',
property: 'og:description',
content: 'The Open Source Dashboard for the Instadapp Protocol',
},
// Twitter
{ hid: 'twitter_type', property: 'twitter:card', content: 'summary_large_image' },
{ hid: 'twitter_url', property: 'twitter:url', content: 'https://assembly.instadapp.io/' },
{ hid: 'twitter_title', property: 'twitter:title', content: 'Assembly' },
{
hid: 'twitter_image',
property: 'twitter:image',
content: `https://assembly.instadapp.io/social.jpg`,
},
{
hid: 'twitter_description',
property: 'twitter:description',
content: 'The Open Source Dashboard for the Instadapp Protocol',
},
2021-07-17 16:50:30 +00:00
],
link: [
2021-08-14 12:11:20 +00:00
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{ rel: "apple-touch-icon", sizes: "57x57", href: "/apple-icon-57x57.png" },
{ rel: "apple-touch-icon", sizes: "60x60", href: "/apple-icon-60x60.png" },
{ rel: "apple-touch-icon", sizes: "72x72", href: "/apple-icon-72x72.png" },
{ rel: "apple-touch-icon", sizes: "76x76", href: "/apple-icon-76x76.png" },
{ rel: "apple-touch-icon", sizes: "114x114", href: "/apple-icon-114x114.png" },
{ rel: "apple-touch-icon", sizes: "120x120", href: "/apple-icon-120x120.png" },
{ rel: "apple-touch-icon", sizes: "144x144", href: "/apple-icon-144x144.png" },
{ rel: "apple-touch-icon", sizes: "152x152", href: "/apple-icon-152x152.png" },
{ rel: "apple-touch-icon", sizes: "180x180", href: "/apple-icon-180x180.png" },
{ rel: "icon", type: "image/png", sizes: "192x192", href: "/android-icon-192x192.png" },
{ rel: "icon", type: "image/png", sizes: "32x32", href: "/favicon-32x32.png" },
{ rel: "icon", type: "image/png", sizes: "96x96", href: "/favicon-96x96.png" },
{ rel: "icon", type: "image/png", sizes: "16x16", href: "/favicon-16x16.png" },
{ rel: "manifest", href: "/manifest.json" },
2021-07-17 16:50:30 +00:00
]
},
// Global CSS: https://go.nuxtjs.dev/config-css
css: [
],
2021-09-02 22:35:19 +00:00
env: {
PORTIS_ID: process.env.PORTIS_ID,
INFURA_ID: process.env.INFURA_ID,
},
2021-07-17 16:50:30 +00:00
2021-07-20 21:39:22 +00:00
publicRuntimeConfig: {
INFURA_ID: process.env.INFURA_ID,
PORTIS_ID: process.env.PORTIS_ID,
2021-08-18 20:20:45 +00:00
TENDERLY_FORK_PATH: process.env.TENDERLY_FORK_PATH,
TENDERLY_KEY: process.env.TENDERLY_KEY,
2021-07-20 21:39:22 +00:00
},
2021-07-17 16:50:30 +00:00
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
plugins: [
2021-07-20 21:39:22 +00:00
"~/plugins/v-click-outside.js",
2021-08-31 19:23:47 +00:00
// "~/plugins/web3modal.js",
2021-07-24 23:40:30 +00:00
{ src: '~/plugins/v-tooltip', mode: 'client' },
2021-08-04 19:17:26 +00:00
{ src: '~/plugins/v-clipboard2', mode: 'client' },
2021-07-17 16:50:30 +00:00
],
// Auto import components: https://go.nuxtjs.dev/config-components
components: true,
// Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
buildModules: [
// https://go.nuxtjs.dev/typescript
'@nuxt/typescript-build',
// https://go.nuxtjs.dev/tailwindcss
'@nuxtjs/tailwindcss',
2021-08-14 12:11:20 +00:00
'@nuxtjs/composition-api/module',
2021-07-17 21:44:21 +00:00
// Doc: https://github.com/nuxt-community/google-fonts-module
"@nuxtjs/google-fonts",
"@nuxtjs/svg",
2021-07-17 16:50:30 +00:00
],
2021-07-17 21:44:21 +00:00
googleFonts: {
families: {
Montserrat: [100, 200, 300, 400, 500, 600, 700, 800, 900]
}
},
2021-07-17 16:50:30 +00:00
// Modules: https://go.nuxtjs.dev/config-modules
modules: [
2021-08-01 18:29:41 +00:00
'@nuxtjs/axios',
2021-07-17 16:50:30 +00:00
],
// Build Configuration: https://go.nuxtjs.dev/config-build
build: {
}
}