-
Notifications
You must be signed in to change notification settings - Fork 47
/
nuxt.config.ts
61 lines (59 loc) · 1.71 KB
/
nuxt.config.ts
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import type { NuxtConfig } from '@nuxt/types'
const config: NuxtConfig = {
target: 'static',
head: {
title: 'Conduit',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: '' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
{
rel: 'stylesheet',
type: 'text/css',
href: '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css',
},
{
type: 'text/css',
rel: 'stylesheet',
href:
'//fonts.googleapis.com/css?family=Titillium+Web:700|Source+Serif+Pro:400,700|Merriweather+Sans:400,700|Source+Sans+Pro:400,300,600,700,300italic,400italic,600italic,700italic',
},
],
},
// https://github.com/gothinkster/realworld-starter-kit
css: ['@/assets/main.css'],
plugins: ['@/plugins/repository'],
components: true,
buildModules: [
// https://typescript.nuxtjs.org/guide/setup#configuration
'@nuxt/typescript-build',
// https://composition-api.nuxtjs.org
'@nuxtjs/composition-api',
],
modules: [
// https://axios.nuxtjs.org
'@nuxtjs/axios',
// https://github.com/nuxt-community/community-modules/tree/master/packages/markdownit
'@nuxtjs/markdownit',
],
build: {},
axios: {
baseURL: 'https://conduit.productionready.io/api/',
},
// https://github.com/nuxt-community/modules/tree/master/packages/markdownit
markdownit: {
injected: true,
},
// https://typescript.nuxtjs.org/guide/lint.html#runtime-lint
typescript: {
typeCheck: {
eslint: {
files: './**/*.{ts,js,vue}',
},
},
},
}
export default config