Skip to content

clearloop/elvis

Repository files navigation

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 !~

Help Wanted

  • A static http/websocket development server #16
  • Documentation of ElvisJS #65
  • A Markdown parser using ElvisJS #66
  • Optimize the State machine #67

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::with(Text::new().text("Hello, World!")).into()
    }
}

Examples

LICENSE

Heartbreak Hotel.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy