Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/IcyDefiance/styled-yew
https://github.com/IcyDefiance/styled-yew
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/IcyDefiance/styled-yew
- Owner: IcyDefiance
- Created: 2020-01-19T21:44:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T13:54:08.000Z (about 2 years ago)
- Last Synced: 2024-05-27T17:05:21.241Z (8 months ago)
- Language: Rust
- Size: 515 KB
- Stars: 35
- Watchers: 3
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-yew - styled-yew - CSS in Rust, similar to styled-components, but for Yew. (Crates / Utils)
README
# styled-yew
CSS in Rust, similar to styled-components, but for Yew.
## Syntax
styled!(pub RedDiv : Div {
color: "red";
});See the example [here](https://github.com/IcyDefiance/styled-yew/blob/master/example/src/lib.rs).
## Running the Example
cargo install wasm-pack
cd example
npm i
npm start -- --open