dioxus.toml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. [application]
  2. # dioxus project name
  3. name = "{{project-name}}"
  4. # default platform
  5. # you can also use `dx serve/build --platform XXX` to use other platform
  6. # value: web | desktop
  7. default_platform = "{{default-platform}}"
  8. # Web `build` & `serve` dist path
  9. out_dir = "dist"
  10. # resource (static) file folder
  11. asset_dir = "public"
  12. # hot reload by default
  13. hot_reload = true
  14. [web.wasm_opt]
  15. # The level wasm-opt should target. z is the smallest. 4 is the fastest.
  16. level = "4"
  17. [web.app]
  18. # HTML title tag content
  19. title = "Dioxus | An elegant GUI library for Rust"
  20. [web.watcher]
  21. index_on_404 = true
  22. watch_path = ["src", "examples"]
  23. # include `assets` in web platform
  24. [web.resource]
  25. # CSS style file
  26. style = []
  27. # Javascript code file
  28. script = []
  29. [web.resource.dev]
  30. # Javascript code file
  31. # serve: [dev-server] only
  32. script = []
  33. [bundler]
  34. # Bundle identifier
  35. identifier = "io.github.{{project-name}}"
  36. # Bundle publisher
  37. publisher = "{{project-name}}"
  38. # Bundle icon
  39. icon = ["icons/icon.png"]
  40. # Bundle resources
  41. resources = ["public/*"]
  42. # Bundle copyright
  43. copyright = ""
  44. # Bundle category
  45. category = "Utility"
  46. # Bundle short description
  47. short_description = "An amazing dioxus application."
  48. # Bundle long description
  49. long_description = """
  50. An amazing dioxus application.
  51. """