mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-26 22:20:19 +00:00
9567674a63
* feat: cli settings * revision: lower msrv * add previous line about hotreload settings just in case * Fix issue with open --------- Co-authored-by: Jonathan Kelley <jkelleyrtp@gmail.com>
52 lines
No EOL
810 B
TOML
52 lines
No EOL
810 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"]
|
|
|
|
# Include style or script assets
|
|
[web.resource]
|
|
|
|
# CSS style file
|
|
style = []
|
|
|
|
# Javascript code file
|
|
script = []
|
|
|
|
[web.resource.dev]
|
|
|
|
# Same as [web.resource], but for development servers
|
|
|
|
# CSS style file
|
|
style = []
|
|
|
|
# JavaScript files
|
|
script = []
|
|
|
|
[[web.proxy]]
|
|
backend = "http://localhost:8000/api/"
|
|
|
|
# [cli_settings]
|
|
# always_hot_reload = true
|
|
# always_open_browser = true |