-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDioxus.toml
50 lines (36 loc) · 1006 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]
# App (Project) Name
name = "nano-og"
# Dioxus App Default Platform
# web, desktop, fullstack
default_platform = "fullstack"
# `build` & `serve` dist path
out_dir = "dist"
# resource (assets) file folder
asset_dir = "assets"
[web.app]
# HTML title tag content
title = "nano-og"
[web.watcher]
# when watcher trigger, regenerate the `index.html`
reload_html = true
# which files or dirs will be watcher monitoring
watch_path = ["src", "assets"]
# include `assets` in web platform
[web.resource]
# CSS style file
style = [
# Include from public_dir.
"./main.css",
# online cdn. TODO: Use Railwind and file a feature request to add `post_cmd` in this toml file
"https://unpkg.com/[email protected]/dist/tailwind.min.css"
]
# Javascript code file
script = [
"https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js",
"https://kit.fontawesome.com/62e08d355c.js"
]
[web.resource.dev]
# Javascript code file
# serve: [dev-server] only
script = []