Skip to content
master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
May 23, 2021
src
Jul 29, 2021
Jul 8, 2021
Jul 14, 2021
Jul 8, 2021
Jun 27, 2020
Jul 16, 2020
Nov 17, 2020
Jul 29, 2021

Malina.js

Malina.js builds your web-application to use it without framework on frontend side. Therefore your web-app becomes thinner and faster, and the application itself consist of vanilla JavaScript, look at examples. TodoMVC example 2.7kb (gzipped) and source code

Articles

Example

<script>
  let name = 'world';
    
  function rename() {
    name = 'user';
  }
</script>

<h1>Hello {name.toUpperCase()}!</h1>
<button @click={rename}>Rename</button>

Run dev environment:

npx create-malina myapp
cd myapp
npm run dev
# open http://localhost:7000/

Run dev environment via docker:

docker run --rm -it --user ${UID} -p 7000:7000 -v `pwd`:/app/src lega911/malina
# open http://localhost:7000/

Build compiler

npm install
npm run build

License

MIT