mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-12-22 18:43:14 +00:00
459d8d69a7
* examples: add PWA w/ Dioxus CLI template * ci: properly set workspace and dependencies
42 lines
677 B
TOML
42 lines
677 B
TOML
[application]
|
|
|
|
# App (Project) Name
|
|
name = "dioxus-pwa-example"
|
|
|
|
# Dioxus App Default Platform
|
|
# desktop, web, mobile, ssr
|
|
default_platform = "web"
|
|
|
|
# `build` & `serve` dist path
|
|
out_dir = "dist"
|
|
|
|
# resource (public) file folder
|
|
asset_dir = "public"
|
|
|
|
[web.app]
|
|
|
|
# HTML title tag content
|
|
title = "dioxus | ⛺"
|
|
|
|
[web.watcher]
|
|
|
|
# when watcher trigger, regenerate the `index.html`
|
|
reload_html = true
|
|
|
|
# which files or dirs will be watcher monitoring
|
|
watch_path = ["src", "public"]
|
|
|
|
# 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 = []
|