Skip to content

Commit 573fc2f

Browse files
committed
fix: 🐛 fixed cli executable name
Changed from `cli` to `perseus`. Also fixed version compat in the `basic` example.
1 parent 586b2df commit 573fc2f

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

examples/basic/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ edition = "2018"
99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1010

1111
[dependencies]
12-
perseus = { path = "../../packages/perseus" }
12+
perseus = "0.1.1"
1313
sycamore = { version = "0.5.1", features = ["ssr"] }
1414
sycamore-router = "0.5.1"
1515
serde = { version = "1", features = ["derive"] }

examples/basic/index.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Perseus Starter App</title>
8+
<!-- Importing this runs Perseus -->
9+
<script src="/.perseus/bundle.js" defer></script>
10+
</head>
11+
<body>
12+
<div id="root"></div>
13+
</body>
14+
</html>

packages/perseus-cli/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ serde_json = "1"
3131
name = "lib"
3232

3333
[[bin]]
34-
name = "cli"
34+
name = "perseus"
3535
path = "src/bin/main.rs"

0 commit comments

Comments
 (0)