forked from DioxusLabs/docsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDioxus.toml
50 lines (36 loc) · 853 Bytes
/
Dioxus.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
46
47
48
49
50
[application]
# dioxus project name
name = "docsite"
# default platform
# you can also use `dioxus serve/build --platform XXX` to use other platform
# value: web | desktop
default_platform = "web"
# Web `build` & `serve` dist path
out_dir = "docs"
# resource (static) file folder
asset_dir = "public"
[web.app]
# HTML title tag content
title = "Dioxus | An elegant GUI library for Rust"
base_path = "."
[web.watcher]
watch_path = [
"docs-src",
"src",
"posts",
"examples",
"snippets",
"index.html",
"public",
]
index_on_404 = true
# include `assets` in web platform
[web.resource]
# CSS style file
style = []
# Javascript code file
script = ["/ace/ace.js", "/ace/mode-rust.js", "/ace/theme-github.js", "/ace/theme-github_dark.js"]
[web.resource.dev]
# Javascript code file
# serve: [dev-server] only
script = []