Crates.io | elvis-web |
lib.rs | elvis-web |
version | 0.1.8 |
source | src |
created_at | 2020-02-13 12:25:33.648503 |
updated_at | 2020-08-16 17:37:13.554565 |
description | Calling Elvis, is anybody home? |
homepage | https://github.com/clearloop/elvis |
repository | https://github.com/clearloop/elvis |
max_upload_size | |
id | 207986 |
size | 27,167 |
Is anybody home? The Evlis Book mainly talks about the usage of elvis, here is our roadmap, come and join us !~
# Install elvis package manager
$ cargo install epm
# New your awesome-app
$ epm new my-awesome-app
# Start development server
$ cd my-awesome-app && epm dev
[INFO warp::server] listening on http://0.0.0.0:3000
//! src/lib.rs
use elvis::{
prelude::*,
widgets::{layouts::Center, Text},
};
#[page]
struct Index;
impl LifeCycle for Index {
fn create(&self) -> Node {
Center::new()
.child(Text::new().text("Hello, World!"))
.into()
}
}
Heartbreak Hotel.