mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
8636ada3a4
* Add a deprecation warning for the resource option in dioxus.toml * fix name of resource config * fix tab spacing issue --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
29 lines
487 B
TOML
29 lines
487 B
TOML
[application]
|
|
|
|
# App name
|
|
name = "project_name"
|
|
|
|
# The Dioxus platform to default to
|
|
default_platform = "web"
|
|
|
|
# `build` & `serve` output path
|
|
out_dir = "dist"
|
|
|
|
# The static resource path
|
|
asset_dir = "public"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "project_name"
|
|
|
|
[web.watcher]
|
|
|
|
# When watcher is triggered, regenerate the `index.html`
|
|
reload_html = true
|
|
|
|
# Which files or dirs will be monitored
|
|
watch_path = ["src", "public"]
|
|
|
|
[[web.proxy]]
|
|
backend = "http://localhost:8000/api/"
|