Dioxus.toml 736 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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/"