2023-12-07 15:24:31 +00:00
|
|
|
[application]
|
|
|
|
|
|
|
|
# App (Project) Name
|
|
|
|
name = "rs-frontend"
|
|
|
|
|
|
|
|
# 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
|
2023-12-07 20:14:36 +00:00
|
|
|
title = "🦀 EEGRust"
|
2023-12-07 15:24:31 +00:00
|
|
|
|
|
|
|
[web.watcher]
|
|
|
|
|
|
|
|
# when watcher trigger, regenerate the `index.html`
|
|
|
|
reload_html = true
|
|
|
|
|
|
|
|
# which files or dirs will be watcher monitoring
|
|
|
|
watch_path = ["src", "public"]
|
|
|
|
|
|
|
|
# include `assets` in web platform
|
|
|
|
[web.resource]
|
|
|
|
|
|
|
|
# CSS style file
|
|
|
|
|
2023-12-07 20:14:36 +00:00
|
|
|
style = ["tailwind.css", "colors.css", "https://fonts.googleapis.com/css2?family=Fira+Sans&family=Josefin+Sans&family=Roboto+Slab&display=swap"]
|
2023-12-07 15:24:31 +00:00
|
|
|
|
|
|
|
# Javascript code file
|
2023-12-07 17:45:13 +00:00
|
|
|
script = ["colors.js"]
|
2023-12-07 15:24:31 +00:00
|
|
|
|
|
|
|
[web.resource.dev]
|
|
|
|
|
|
|
|
# Javascript code file
|
|
|
|
# serve: [dev-server] only
|
|
|
|
script = []
|