Skip to content

hudson-newey/2web

Repository files navigation

2 Web

A web framework that compiles straight to lazy loaded HTML, CSS and JS with near-zero runtime overhead.

I am to make all reactivity compiled so that there is minimal runtime overhead.

Resources

Basic Counter Example

<script compiled>
  $ count = 0;
</script>

<h1>{{ $count }}</h1>

<button @click="$count = $count + 1">Increment</button>
<button @click="$count = $count - 1">Decrement</button>

Quick Start

Install the 2web cli.

$ npm install -g @two-web/cli
>

Generate a new 2web project.

$ 2web new <project_name>
>

About

[Work in Progress] A compiler-based web framework that makes web development easy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •