dioxus-template/Liveview/Dioxus.toml

43 lines
681 B
TOML

[application]
# App (Project) Name
name = "{{project-name}}"
# Dioxus App Default Platform
# web, desktop, fullstack
default_platform = "desktop"
# `build` & `serve` dist path
out_dir = "dist"
# resource (assets) file folder
asset_dir = "assets"
[web.app]
# HTML title tag content
title = "{{project-name}}"
[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 = []
# Javascript code file
script = []
[web.resource.dev]
# Javascript code file
# serve: [dev-server] only
script = []