Hotreload the contents of for loops, if chains, component bodies, props, attributes, and any literals discovered in rsx! Add a TUI renderer to the CLI. Improve the CLI build system to be async and parallel. Refactor RSX to allow partial expansion of expressions. Merge autofmt implementations for consistency. Merge the representation of elements and components under the hood. Add a diagnostics system for rsx for improved error messages. Drop interprocess and move to websockets for communication between the CLI and the server. Assign IDs to nodes and attributes in a stable way to be used in non compiler contexts. Add hotreloading to any body of component/for loop/if chain/etc. --------- Co-authored-by: Evan Almloff <evanalmloff@gmail.com> Co-authored-by: Liam Mitchell <liamkarlmitchell@gmail.com>
76 lines
1.2 KiB
TOML
76 lines
1.2 KiB
TOML
[application]
|
|
|
|
# dioxus project name
|
|
name = "{{project-name}}"
|
|
|
|
# default platfrom
|
|
# you can also use `dx serve/build --platform XXX` to use other platform
|
|
# value: web | desktop
|
|
default_platform = "{{default-platform}}"
|
|
|
|
# Web `build` & `serve` dist path
|
|
out_dir = "dist"
|
|
|
|
# resource (static) file folder
|
|
asset_dir = "public"
|
|
|
|
# hot reload by default
|
|
hot_reload = true
|
|
|
|
[web.wasm_opt]
|
|
# The level wasm-opt should target. z is the smallest. 4 is the fastest.
|
|
level = "4"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "Dioxus | An elegant GUI library for Rust"
|
|
|
|
[web.watcher]
|
|
|
|
index_on_404 = true
|
|
|
|
watch_path = ["src", "examples"]
|
|
|
|
# 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 = []
|
|
|
|
[bundler]
|
|
# Bundle identifier
|
|
identifier = "io.github.{{project-name}}"
|
|
|
|
# Bundle publisher
|
|
publisher = "{{project-name}}"
|
|
|
|
# Bundle icon
|
|
icon = ["icons/icon.png"]
|
|
|
|
# Bundle resources
|
|
resources = ["public/*"]
|
|
|
|
# Bundle copyright
|
|
copyright = ""
|
|
|
|
# Bundle category
|
|
category = "Utility"
|
|
|
|
# Bundle short description
|
|
short_description = "An amazing dioxus application."
|
|
|
|
# Bundle long description
|
|
long_description = """
|
|
An amazing dioxus application.
|
|
"""
|