-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.js
98 lines (98 loc) · 2.26 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
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
export default {
target: 'static',
components: true,
/*
** Customize the progress-bar color
*/
loading: false,
/*
** Global CSS
*/
css: [
{
src: 'katex/dist/katex.min.css',
defer: true
},
'~/assets/scss/main.scss'
],
/*
** Plugins to load before mounting the App
*/
plugins: ['~/plugins/math.js', '~/plugins/createTable.js'],
/*
** Nuxt.js dev-modules
*/
buildModules: [
// Doc: https://github.com/nuxt-community/eslint-module
'@nuxtjs/eslint-module'
],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://buefy.github.io/#/documentation
['nuxt-buefy', { css: false, materialDesignIcons: false }],
'@nuxtjs/pwa',
'@nuxt/content',
'@nuxtjs/sitemap'
],
/*
** Content configuration
*/
content: {
markdown: {
remarkPlugins: ['remark-math', 'remark-textr'],
rehypePlugins: ['rehype-katex']
}
},
/*
** Generate configuration
*/
generate: {
subFolders: false,
fallback: true
},
/*
** Router configuration
*/
router: {
base: '/numerically-solving-equations/'
},
/*
** Default transition
*/
pageTransition: 'default',
/*
** PWA configuration
*/
pwa: {
meta: {
name: 'Numerically Solving Equations',
description:
'Numerically Solving Equations is a website designed to demonstrate how numerical methods can be used to find the roots of equations. It has interactive diagrams to demonstrate numerical processes as well as calculators to find roots with tables. This website has information on bisection method, false position, fixed point iteration, Newton-Raphson method and Secant method.',
theme_color: '#FF7070',
ogHost: 'https://jonathanjameswatson.com',
ogImage: '/numerically-solving-equations/preview.png',
twitterCard: 'summary_large_image'
},
manifest: {
name: 'Numerically Solving Equations',
short_name: 'Numerically Solving Equations',
theme_color: '#FF7070',
display: 'fullscreen'
}
},
/*
** Sitemap configuration
*/
sitemap: {
hostname: 'https://jonathanjameswatson.com',
gzip: true
},
/*
** Webpack configuration
*/
build: {
transpile: ['remark-math', 'remark-textr', 'rehype-katex']
}
}