Skip to content

Commit

Permalink
feat: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mrxiaozhuox committed Dec 14, 2023
1 parent e83e342 commit 42420c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 17 deletions.
11 changes: 0 additions & 11 deletions Dioxus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,3 @@ script = [
# serve: [dev-server] only
script = []

[plugin]

available = true

loader = [
"/Users/mrxzx/Development/DioxusLabs/plugin-dev/dioxus-binaryen-plugin/"
]

[plugin.dioxus-binaryen]

optimize = true
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
- [Dioxus Fermi](https://github.com/DioxusLabs/dioxus/tree/master/packages/fermi) - Atom-based global state management solution for Dioxus
- [Dioxus Free Icon](https://github.com/nissy-dev/dioxus-free-icons) - Use free svg icons in your Dioxus
- [Dioxus Toast](https://github.com/mrxiaozhuox/dioxus-toast) - Add toast support for your Dioxus
- [Dioxus Use Storage](https://github.com/oovm/dioxus-hooks/tree/master/projects/dioxus-use-storage) - Add Storage Hooks for Dioxus
- [Dioxus Local torage](https://github.com/mrxiaozhuox/dioxus-local-storage) - Add Storage Hooks for Dioxus

## Try it

```
dioxus create my-dioxus-app --template=gh:mrxiaozhuox/dioxus-starter
cd my-dioxus-app
dioxus serve
```
dx create --template=gh:mrxiaozhuox/dioxus-starter
cd {PROJECT_NAME}
dx serve
```
2 changes: 1 addition & 1 deletion src/components/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use dioxus::prelude::*;

use crate::hooks::markdown::use_markdown;

#[inline_props]
#[component]
pub fn Href<'a>(cx: Scope, to: &'a str, children: Element<'a>) -> Element {
cx.render(rsx! {
a { class: "text-cyan-700 dark:text-cyan-100 underline", href: "{to}", target: "_blank", children }
Expand Down

0 comments on commit 42420c2

Please sign in to comment.