-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dioxus.toml
51 lines (36 loc) · 1.51 KB
/
Dioxus.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# cargo binstall dioxus-cli # dx new foo
# https://github.com/DioxusLabs/dioxus/blob/main/packages/cli/assets/dioxus.toml
[application]
name = "inperiod" # App (Project) name
# you can also use `dx serve/build --platform XXX` to use other platform
default_platform = "web" # value: web | desktop | mobile
#asset_dir = "assets" # resource (static) file folder
#out_dir = "dist" # Web `build` & `serve` dist path
#hot_reload = true # hot reload by default
[web.wasm_opt]
level = "4" # The level wasm-opt should target. z is the smallest. 4 is the fastest.
[web.app]
title = "Elements Periodic Table" # HTML title tag content
base_path = "inperiod" # "/"
#index_on_404 = true
[web.watcher]
reload_html = true # when watcher trigger, regenerate the `index.html`
# which files or dirs will be watcher monitoring
watch_path = ["src", "assets", "index.html", "tailwind_base.css", "tailwind.config.js"]
#[web.resource] # include `assets` in web platform, DEPRECATED
#style = ["assets/tailwind.css"] # CSS style file
#script = [] # Javascript code file
[web.resource.dev]
script = [] # Javascript code file, serve: [dev-server] only
#script = ["https://cdn.tailwindcss.com"]
[bundle]
icon = ["assets/ptable.svg"]
identifier = "io.github.mhfan"
publisher = "MeiHui FAN"
resources = ["public/*"]
category = "Utility"
copyright = "All rights reserved. © 2024 M.H.Fan"
short_description = "Modern fancy interactive online periodic table of chemistry elements"
#long_description = """
#An amazing dioxus application.
#"""