Dioxus.toml 810 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. [application]
  2. # App name
  3. name = "project_name"
  4. # The Dioxus platform to default to
  5. default_platform = "web"
  6. # `build` & `serve` output path
  7. out_dir = "dist"
  8. # The static resource path
  9. asset_dir = "public"
  10. [web.app]
  11. # HTML title tag content
  12. title = "project_name"
  13. [web.watcher]
  14. # When watcher is triggered, regenerate the `index.html`
  15. reload_html = true
  16. # Which files or dirs will be monitored
  17. watch_path = ["src", "public"]
  18. # Include style or script assets
  19. [web.resource]
  20. # CSS style file
  21. style = []
  22. # Javascript code file
  23. script = []
  24. [web.resource.dev]
  25. # Same as [web.resource], but for development servers
  26. # CSS style file
  27. style = []
  28. # JavaScript files
  29. script = []
  30. [[web.proxy]]
  31. backend = "http://localhost:8000/api/"
  32. # [cli_settings]
  33. # always_hot_reload = true
  34. # always_open_browser = true