elvis-core

Crates.ioelvis-core
lib.rselvis-core
version0.1.1
sourcesrc
created_at2020-07-30 19:42:58.564814
updated_at2020-08-16 16:50:31.698181
descriptionEvlis shared library
homepagehttps://github.com/clearloop/elvis
repositoryhttps://github.com/clearloop/elvis
max_upload_size
id271429
size63,383
(clearloop)

documentation

https://docs.rs/elvis-shared

README

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.

Commit count: 121

cargo fmt