Crates.io | sycamore-template |
lib.rs | sycamore-template |
version | 0.1.1 |
source | src |
created_at | 2024-04-09 13:58:46.883946 |
updated_at | 2024-11-07 08:19:00.711747 |
description | Generates sycamore templates. |
homepage | |
repository | https://github.com/acheul/sycamore-template |
max_upload_size | |
id | 1202400 |
size | 14,111 |
Initiate a sycamore project (since sycamore version of 0.9)
cargo install sycamore-template --version=0.1.1
ex-project
)sycamore-template --name=ex-project
sycamore-router
. Also the index.html
will have head lines of copy-dir
and css
. (see directory ex-router-project
)sycamore-template
--name=ex-router-project
--router=true
--copy-dir="/assets"
--css="/assets/style.css"
sycamore-template
--name=project-name
--router=false
--copy-dir="/assets"
--css="/style.css"
--favicon="/favicon.svg"
sycamore-router
index.html
file with given value:<link data-trunk rel="copy-dir" href="{value}"/>
index.html
file with given value:<link data-trunk rel="css" href="{value}"/>
index.html
with given value:<link rel="icon" type="image/x-icon" href="{value}">
At this moment, sycamore version 0.9
is used for default;
* `v0.1.0-beta.4`
- follow up of sycamore v0.9.0-beta.4.
* `v0.1.1`
- stablized with sycamore v0.9