-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(examples): updated example writing docs and base example
- Loading branch information
1 parent
5473683
commit 0c1b578
Showing
7 changed files
with
42 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.perseus/ | ||
dist/ | ||
target_engine/ | ||
target_wasm/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,35 @@ | ||
[package] | ||
name = "perseus-example-base" | ||
version = "0.3.2" | ||
version = "0.4.0-beta.3" | ||
edition = "2021" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
perseus = { path = "../../../packages/perseus", features = [ "hydrate" ] } | ||
sycamore = "0.7" | ||
sycamore = "=0.8.0-beta.7" | ||
serde = { version = "1", features = ["derive"] } | ||
serde_json = "1" | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] | ||
fantoccini = "0.17" | ||
|
||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] | ||
tokio = { version = "1", features = [ "macros", "rt", "rt-multi-thread" ] } | ||
# This is an internal convenience crate that exposes all integrations through features for testing | ||
perseus-integration = { path = "../../../packages/perseus-integration", default-features = false } | ||
|
||
[target.'cfg(target_arch = "wasm32")'.dependencies] | ||
wasm-bindgen = "0.2" | ||
|
||
[lib] | ||
name = "lib" | ||
path = "src/lib.rs" | ||
crate-type = [ "cdylib", "rlib" ] | ||
|
||
[[bin]] | ||
name = "perseus-example-base" | ||
path = "src/lib.rs" | ||
|
||
[package.metadata.wasm-pack.profile.release] | ||
wasm-opt = [ "-Oz" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters