Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // import path from 'path';
- // import PurgecssPlugin from 'purgecss-webpack-plugin';
- // import glob from 'glob-all';
- export default {
- mode: 'universal',
- /*
- ** Headers of the page
- */
- head: {
- titleTemplate: '%sAiDEAL Technology',
- htmlAttrs: {
- lang: 'en'
- },
- meta: [
- { charset: 'utf-8' },
- {
- name: 'viewport',
- content: 'width=device-width, initial-scale=1 viewport-fit-cover'
- },
- {
- hid: 'description',
- name: 'description',
- content: 'Blockchain Company'
- },
- {
- hid: 'keyword',
- name: 'keyword',
- content:
- 'AiDEAL Technology, aideal, Blockchain, Malaysia, finance, transaction'
- },
- { property: 'og:type', content: 'website' },
- {
- property: 'og:url',
- content: 'https:/aideallab.io'
- },
- { property: 'og:title', content: 'AiDEAL Technology' },
- {
- property: 'og:image',
- content: 'https://aideallab.io/_nuxt/img/5129181.png'
- },
- { property: 'og:description', content: 'Blockchain Company' },
- { property: 'og:site_name', content: 'AiDEAL Technology' },
- { property: 'og:locale', content: 'en_US' }
- ],
- link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }]
- },
- /*
- ** Customize the progress-bar color
- */
- loading: { color: '#fff' },
- /*
- ** Global CSS
- */
- css: ['@/assets/css/main.scss'],
- /*
- ** Plugins to load before mounting the App
- */
- plugins: [],
- /*
- ** Nuxt.js dev-modules
- */
- buildModules: [
- // Doc: https://github.com/nuxt-community/eslint-module
- '@nuxtjs/eslint-module',
- '@nuxtjs/tailwindcss'
- ],
- /*
- ** Nuxt.js modules
- */
- modules: [
- // Doc: https://axios.nuxtjs.org/usage
- '@nuxtjs/axios',
- '@nuxtjs/pwa',
- ['@nuxtjs/google-analytics', { id: 'UA-150266076-1' }]
- ],
- /*
- ** Axios module configuration
- ** See https://axios.nuxtjs.org/options
- */
- axios: {},
- /*
- ** Build configuration
- */
- build: {
- /*
- ** You can extend webpack config here
- */
- // extractCSS: true,
- extend: (config) => {
- const svgRule = config.module.rules.find((rule) =>
- rule.test.test('.svg')
- );
- svgRule.test = /\.(png|jpe?g|gif|webp)$/;
- config.module.rules.push({
- test: /\.svg$/,
- loader: 'vue-svg-loader'
- });
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement