calling-elvis
v0.1.0Calling Elvis ๐ฆ ๐ธ ๐ธ ๐ก ๐ ๐ช ๐ฐ
Is anybody home?
As we know, Elvis
is a famous rock star, but both a famous rock song named Calling Elvis
wrote by Dire Straits
which inspired a unknown rock star writing down these chords.
For now, Elvis, the rock star, will rise, once again, beyond the internet โโ truely your wasm web library, ๐ฆ + ๐ธ => ๐
The Evlis Book mainly talks about the usage of elvis.js, and if you want to use low-level
api rusting the web, plz check out elvis' rust doc.
Goals ๐ฏ
Writing web pages in pure javascript using wasm bindings, without jsx
or any other
complex syntax, just javascript, of course, not writing html
nor css
either.
Roll up for the Magical Mystery Tour! ๐
๐งโโ๏ธ ๐คนโโ๏ธ Here we go! Roll up, roll up for the mystery tour, the magical mystery tour is waiting to take you away! Hoping to take you away! Coming to take you away! Dying to take you away, take you today! ๐ธ
๐ป Let me take you down, cause I'm going to,
import { Colors, Elvis, Text } from "calling-elvis";
const Home = Text("Pink is the Pig!", {
bold: true,
italic: true,
size: 10,
color: Colors.PinkAccent(),
});
new Elvis({
home: Home,
}).calling();
Strawberry Fields ๐งโ๐
21st Century Schizoid Magic ๐ฉ
$ yarn create elvis-app
โ What is your project named? โฆ my-awesome-app
[ info ] Generating elvis files ...
[ wait ] Installing elvis dependencies ...
[ done ] Let's Roll up for the Magical Mystery Tour!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ Success! Created my-awesome-app at: โ
โ โ
โ /path/to/my-awesome-app โ
โ โ
โ Inside that directory, you can run several commands: โ
โ โ
โ - yarn dev: Starts the development server. โ
โ - yarn docs: Open The Elvis Book. โ
โ - yarn build: Builds my-awesome-app for production. โ
โ - yarn start: Runs my-awesome-app production mode. โ
โ โ
โ We suggest that you begin by typing: โ
โ โ
โ - cd my-awesome-app โ
โ - yarn dev โ
โ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
LICENSE
Heartbreak Hotel.