mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-18 08:33:07 +00:00
5d25a6498b
index_on_404 was never used with the default config because the property is set on `web.watcher` and not on `web.app`
47 lines
732 B
TOML
47 lines
732 B
TOML
[application]
|
|
|
|
# dioxus project name
|
|
name = "{{project-name}}"
|
|
|
|
# default platfrom
|
|
# you can also use `dioxus serve/build --platform XXX` to use other platform
|
|
# value: web | desktop
|
|
default_platform = "{{default-platform}}"
|
|
|
|
# Web `build` & `serve` dist path
|
|
out_dir = "dist"
|
|
|
|
# resource (static) file folder
|
|
asset_dir = "public"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "Dioxus | An elegant GUI library for Rust"
|
|
|
|
[web.watcher]
|
|
|
|
index_on_404 = true
|
|
|
|
watch_path = ["src"]
|
|
|
|
# include `assets` in web platform
|
|
[web.resource]
|
|
|
|
# CSS style file
|
|
style = []
|
|
|
|
# Javascript code file
|
|
script = []
|
|
|
|
[web.resource.dev]
|
|
|
|
# Javascript code file
|
|
# serve: [dev-server] only
|
|
script = []
|
|
|
|
[application.plugins]
|
|
|
|
available = true
|
|
|
|
required = []
|