2022-01-23 12:11:17 +08:00
|
|
|
[application]
|
|
|
|
|
2022-02-09 21:11:41 +08:00
|
|
|
# dioxus project name
|
2022-01-24 16:18:16 +08:00
|
|
|
name = "{{project-name}}"
|
2022-01-23 12:11:17 +08:00
|
|
|
|
2022-02-09 21:11:41 +08:00
|
|
|
# default platfrom
|
|
|
|
# you can also use `dioxus serve/build --platform XXX` to use other platform
|
|
|
|
# value: web | desktop
|
2022-03-10 11:29:27 +08:00
|
|
|
default_platform = "{{default-platform}}"
|
2022-01-23 12:11:17 +08:00
|
|
|
|
|
|
|
# Web `build` & `serve` dist path
|
|
|
|
out_dir = "dist"
|
|
|
|
|
2022-02-09 21:11:41 +08:00
|
|
|
# resource (static) file folder
|
2022-02-17 19:28:54 +08:00
|
|
|
asset_dir = "public"
|
2022-02-09 21:11:41 +08:00
|
|
|
|
2022-01-24 11:29:39 +08:00
|
|
|
[web.app]
|
|
|
|
|
2022-01-24 16:18:16 +08:00
|
|
|
# HTML title tag content
|
2022-07-09 22:21:21 +08:00
|
|
|
title = "Dioxus | An elegant GUI library for Rust"
|
2022-01-24 16:18:16 +08:00
|
|
|
|
2022-01-23 12:11:17 +08:00
|
|
|
[web.watcher]
|
|
|
|
|
2022-12-29 11:57:13 +01:00
|
|
|
index_on_404 = true
|
|
|
|
|
2022-01-23 12:11:17 +08:00
|
|
|
watch_path = ["src"]
|
|
|
|
|
|
|
|
# include `assets` in web platform
|
|
|
|
[web.resource]
|
|
|
|
|
|
|
|
# CSS style file
|
2022-01-24 16:18:16 +08:00
|
|
|
style = []
|
2022-01-23 12:11:17 +08:00
|
|
|
|
|
|
|
# Javascript code file
|
2022-01-24 16:18:16 +08:00
|
|
|
script = []
|
2022-01-23 12:11:17 +08:00
|
|
|
|
|
|
|
[web.resource.dev]
|
|
|
|
|
|
|
|
# Javascript code file
|
|
|
|
# serve: [dev-server] only
|
2022-03-12 13:00:07 +08:00
|
|
|
script = []
|
|
|
|
|
2022-07-25 08:10:06 +08:00
|
|
|
[application.plugins]
|
2022-03-14 19:11:12 +08:00
|
|
|
|
2022-07-25 08:10:06 +08:00
|
|
|
available = true
|
2022-05-07 11:54:00 +08:00
|
|
|
|
2022-12-29 11:57:13 +01:00
|
|
|
required = []
|