Bahasa Pemrograman Semarangan
npm install lumpiajsmengko, nteni, paten, kandani. Coding jadi lebih asik!
dinamis di setiap View. Judul dan deskripsi halaman bisa berubah-ubah.
404.
aku | this | Diri Sendiri (Object) |
fungsi | function | Fungsi |
paten | const | Konstan |
ono | let | Ada / Variabel |
mengko | async | Nanti (Async) |
nteni | await | Tunggu (Await) |
balek | return | Kembali |
kandani | console.log | Bilangi |
aku->tampil()._
bash
npm install -g lumpiajs
`
2. Buat Project
`bash
lumpia create-project warung-ku
`
_Pilih template: Kosongan atau Contoh Toko Online._
_Pilih style: Vanilla atau Tailwind._
3. Development (Kukus)
`bash
cd warung-ku
npm install
lumpia kukus
`
Server akan jalan di http://localhost:3000 dengan fitur Hot-Reload CSS.
4. Build Production (Goreng)
`bash
lumpia goreng
`
Hasil di folder dist adalah Murni Static HTML/JS.
Bisa langsung deploy ke GitHub Pages, Netlify, Vercel, atau Hosting CPanel biasa.
---
📝 Contoh Koding
Controller (Home.lmp)
`javascript
export default class HomeController extends Controller {
mengko index() {
paten pesan = 'Halo Lur!';
balek aku->tampil('home', { msg: pesan });
}
}
`
View (home.lmp)
`html
{{ msg }} - Webku
{{ msg }}
Lihat Produk
h1 { color: orange; }
``