#web #spa #js

elvis

Calling Elvis, is anybody home?

Show the crate…

10 releases

0.3.1 Aug 16, 2020
0.3.0 Aug 16, 2020
0.2.6 Jul 30, 2020
0.2.2 Apr 11, 2020
0.1.0 Jan 22, 2020

#31 in #spa

MIT license

89KB
2K SLoC

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 Started

# 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

~1.3–3MB
~64K SLoC