3 releases

0.1.2 Aug 16, 2020
0.1.1 Jul 30, 2020
0.1.0 Jul 4, 2020

#26 in #spa

Download history 2/week @ 2024-02-19 31/week @ 2024-02-26 5/week @ 2024-03-11 58/week @ 2024-04-01

63 downloads per month
Used in epm

MIT license

16KB
377 lines

Calling Elvis

Rust crate doc downloads Discord Chat LICENSE

Is anybody home? The Evlis Book mainly talks about the usage of elvis, here is our roadmap, come and join us !~

Getting Start

# 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

Hello, World!

//! 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()
    }
}

Examples

LICENSE

Heartbreak Hotel.

Dependencies

~37–51MB
~849K SLoC