refactor: remove the deprecated web resource configuration and use the script component
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 5s
checkov check / checkov check (pull_request) Successful in 48s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 4s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 2s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 6s
GitLeaks check / GitLeaks check (pull_request) Successful in 7s
hadolint check / hadolint check (pull_request) Successful in 11s
htmlhint check / htmlhint check (pull_request) Successful in 9s
markdownlint check / markdownlint check (pull_request) Successful in 9s
Prettier check / Prettier check (pull_request) Successful in 11s
Rust check / Rust check (pull_request) Successful in 14m42s
ShellCheck check / ShellCheck check (pull_request) Successful in 15s
Stylelint check / Stylelint check (pull_request) Successful in 12s
yamllint check / yamllint check (pull_request) Successful in 13s
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 5s
checkov check / checkov check (pull_request) Successful in 48s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 4s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 2s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 6s
GitLeaks check / GitLeaks check (pull_request) Successful in 7s
hadolint check / hadolint check (pull_request) Successful in 11s
htmlhint check / htmlhint check (pull_request) Successful in 9s
markdownlint check / markdownlint check (pull_request) Successful in 9s
Prettier check / Prettier check (pull_request) Successful in 11s
Rust check / Rust check (pull_request) Successful in 14m42s
ShellCheck check / ShellCheck check (pull_request) Successful in 15s
Stylelint check / Stylelint check (pull_request) Successful in 12s
yamllint check / yamllint check (pull_request) Successful in 13s
This commit is contained in:
parent
dbd3a5841b
commit
7f5a524d4b
15
Dioxus.toml
15
Dioxus.toml
@ -25,18 +25,3 @@ reload_html = true
|
|||||||
|
|
||||||
# which files or dirs will be watcher monitoring
|
# which files or dirs will be watcher monitoring
|
||||||
watch_path = ["src", "assets"]
|
watch_path = ["src", "assets"]
|
||||||
|
|
||||||
# include `assets` in web platform
|
|
||||||
[web.resource]
|
|
||||||
|
|
||||||
# CSS style file
|
|
||||||
style = []
|
|
||||||
|
|
||||||
# Javascript code file
|
|
||||||
script = ["https://kit.fontawesome.com/3c1b409f8f.js"]
|
|
||||||
|
|
||||||
[web.resource.dev]
|
|
||||||
|
|
||||||
# Javascript code file
|
|
||||||
# serve: [dev-server] only
|
|
||||||
script = []
|
|
||||||
|
@ -39,6 +39,7 @@ pub(crate) fn App() -> Element {
|
|||||||
document::Link { rel: "stylesheet", href: FONTS_CSS }
|
document::Link { rel: "stylesheet", href: FONTS_CSS }
|
||||||
document::Link { rel: "stylesheet", href: INPUT_NUMBER_ARROWS_CSS }
|
document::Link { rel: "stylesheet", href: INPUT_NUMBER_ARROWS_CSS }
|
||||||
document::Link { rel: "stylesheet", href: INPUT_RANGE_CSS }
|
document::Link { rel: "stylesheet", href: INPUT_RANGE_CSS }
|
||||||
|
document::Script { src: "https://kit.fontawesome.com/3c1b409f8f.js" }
|
||||||
|
|
||||||
div {
|
div {
|
||||||
class: "min-h-screen text-zinc-200 bg-zinc-800 pt-4 pb-36",
|
class: "min-h-screen text-zinc-200 bg-zinc-800 pt-4 pb-36",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user