dioxus-letter-werefox-cafe/rust-letter-fe/Dioxus.toml

43 lines
780 B
TOML

[application]
# App (Project) Name
name = "rust-letter"
# Dioxus App Default Platform
# desktop, web, mobile, ssr
default_platform = "web"
# `build` & `serve` dist path
out_dir = "dist"
# resource (public) file folder
asset_dir = "../public"
[web.app]
# HTML title tag content
title = "A Letter For You!"
[web.watcher]
# when watcher trigger, regenerate the `index.html`
reload_html = true
# which files or dirs will be watcher monitoring
watch_path = ["src", "../data", "../public", "tailwind.config.js", "Dioxus.toml", "Cargo.toml", "build.rs"]
# include `assets` in web platform
[web.resource]
# CSS style file
style = ["styles/tailwind.min.css"]
# Javascript code file
script = []
[web.resource.dev]
# Javascript code file
# serve: [dev-server] only
script = []