Skip to content

Commit 5da5ce5

Browse files
README.md was updated for v5
1 parent f2fdd88 commit 5da5ce5

File tree

1 file changed

+7
-32
lines changed

1 file changed

+7
-32
lines changed

README.md

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,15 @@
11
# Singlight
22
![SINGLIGHT-LOGO](https://s28.picofile.com/file/8466080650/singlight.png)
33

4-
# Introduction
5-
Singlight is a light-weight, open-source, free, powerful and easy-to-use Javascript library for creating SPAs. It's a super-light-weight library. `~5KB` for minified file. That's fast and high-performance.
6-
# Example
7-
```js
8-
// import requires
9-
import { Singlight, Router, Page } from "singlight.min.js";
4+
Singlight is a light-weight, open-source, free, powerful and easy-to-use Javascript library for creating SPAs. It's a super-light-weight library. `~6KB` for minified file. That's fast and high-performance.
105

11-
// create home page
12-
class HomePage extends Page {
13-
template() {
14-
return "<h1>Hello World</h1>";
15-
}
16-
}
6+
# Guide
7+
- [Document](https://github.com/mohammadali-arjomand/singlightjs/wiki)
8+
- [Examples](https://github.com/mohammadali-arjomand/singlightjs-examples)
179

18-
// set router
19-
const router = new Router();
20-
router.addRoute("/", HomePage);
21-
22-
// create app
23-
const app = new Singlight();
24-
app.router(router);
25-
app.mount("#app");
26-
app.start();
27-
```
28-
[Click here](https://github.com/mohammadali-arjomand/singlightjs-examples) for see all SinglightJs examples.
29-
30-
# Installation
31-
[Click here](https://github.com/mohammadali-arjomand/singlightjs/wiki#installation) and install SinglightJs
32-
33-
# Documentation
34-
[Click here](https://github.com/mohammadali-arjomand/singlightjs/wiki) for see Documentation.
35-
36-
# Donate
37-
<a href="https://www.coffeebede.com/mohammadali-arjomand"><img class="img-fluid" height="70px" src="https://coffeebede.ir/DashboardTemplateV2/app-assets/images/banner/default-yellow.svg" /></a>
10+
# Ecosystem
11+
- [SinglightAPI](https://github.com/mohammadali-arjomand/singlightapi)
12+
- [Singlighter](https://github.com/mohammadali-arjomand/singlighter)
3813

3914
# License
4015
MIT License - Copyright (c) 2023, MohammadAli Arjomand

0 commit comments

Comments
 (0)