-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.js
36 lines (35 loc) · 1.23 KB
/
nuxt.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
const { resolve } = require('path');
module.exports = {
dev: process.env.NODE_ENV !== 'production',
srcDir: resolve(__dirname, './client'),
router: { middleware: ['auth', 'i18n'] },
env: { apiURL: process.env.API_URL || 'http://localhost:3000' },
head: {
title: 'Canada Free SMS - System-Online Receive SMS',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0' }
],
link: [
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css?family=Noto+Sans|Roboto|Material+Icons' },
{ rel: 'stylesheet', href: '//fonts.googleapis.com/icon?family=Material+Icons' },
{ rel: 'stylesheet', href: 'https://use.fontawesome.com/releases/v5.0.8/css/all.css' }
],
script: [
{ src: 'https://kit.fontawesome.com/98db21528b.js' },
{ src: 'https://www.paypal.com/sdk/js?client-id=AeZgg-XoLfSbdrVeRnEz1aSGatzYfnYwGWGuWydxIp-ik2Wl4Y433qnUeE77hf92vR_x6bJyRbG02dPY' }
]
},
loading: '~/components/Loading.vue',
plugins: [
'~plugins/material-kit',
'~plugins/i18n'
// { src: '~plugins/localStorage.js', ssr: false }
],
modules: [
'nuxt-client-init-module'
],
build: {
cache: true
}
};