Skip to content

Getting Started

Welcome to Regor! This guide will walk you through the essential steps to start building HTML5-based applications using the Regor UI framework. Whether you’re new to Regor or an experienced developer, this guide will help you get up and running quickly.

Before you can begin using Regor, you need to add it to your project. You can install Regor using npm or yarn.

Using yarn

Terminal window
yarn add regor

Using npm

Terminal window
npm install regor
import { createApp, ref } from 'regor'
createApp({
message: ref('Hello world!'),
})
<script src="https://unpkg.com/regor/dist/regor.es2022.iife.prod.js"></script>
<div id="app">{{ message }}</div>
<script type="module">
import {
createApp,
ref,
} from 'https://unpkg.com/regor/dist/regor.es2022.esm.prod.js'
createApp({
message: ref('Hello world!'),
})
</script>

Back to the main