-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnetlify.toml
45 lines (35 loc) · 1.09 KB
/
netlify.toml
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
[build]
base = "docs"
command = "npm run build"
publish = "docs/.vuepress/dist"
[[redirects]]
from = "https://nuxtstack.netlify.com/*"
to = "https://nuxtstack.org/:splat"
force = true
# EXAMPLE: BENCHMARK
[context.benchmark-example]
base = "examples/benchmark"
command = "nuxt init -p basic && npm run generate"
publish = "examples/benchmark/dist"
[context.benchmark-stats]
base = "examples/benchmark"
command = "nuxt init -p basic && npm run stats"
publish = "examples/benchmark/.nuxt/stats"
# EXAMPLE: BASIC
[context.basic-example]
base = "examples/basic"
command = "nuxt init -p basic && npm run generate"
publish = "examples/basic/dist"
[context.basic-stats]
base = "examples/basic"
command = "nuxt init -p basic && npm run stats"
publish = "examples/basic/.nuxt/stats"
# EXAMPLE: FANCY
[context.fancy-example]
base = "examples/fancy"
command = "nuxt init -p fancy && npm run generate"
publish = "examples/fancy/dist"
[context.fancy-stats]
base = "examples/fancy"
command = "nuxt init -p fancy && npm run stats"
publish = "examples/fancy/.nuxt/stats"