Feat: dioxus frontend crate
This commit is contained in:
1 parent
6c1205e91b
commit
4d7ac5bb5d
13 files changed
+465
-15
No files matched your search
@@ -0,0 +1,11 @@
|
||||
[package]
|
||||
name = "dioxus"
|
||||
version = "0.1.0"
|
||||
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "Core functionality for Dioxus - a concurrent renderer-agnostic Virtual DOM for interactive user experiences"
|
||||
"license" = "MIT/Apache-2.0"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
dioxus-core = { path = "../core", version = "0.1.0" }
|
||||
@@ -0,0 +1,7 @@
|
||||
# Dioxus
|
||||
|
||||
This crate serves as the thin frontend over dioxus-core and dioxus-app. Here, we support docs, feature flags, and incorporate some extra tools and utilities into a consistent API.
|
||||
|
||||
Ideally, we can prevent cfg creep into the core crate by moving it all into this frontend crate.
|
||||
|
||||
For now, see dioxus-core for all docs and details
|
||||
@@ -0,0 +1,16 @@
|
||||
pub mod prelude {
|
||||
pub use dioxus_core::prelude::*;
|
||||
}
|
||||
|
||||
// Re-export core completely
|
||||
pub use dioxus_core as core;
|
||||
|
||||
struct App {}
|
||||
|
||||
fn new() -> App {
|
||||
todo!()
|
||||
}
|
||||
|
||||
struct Router {}
|
||||
|
||||
struct Route {}
|
||||
Reference in new issue
Block a user