ezi 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/app.js +1 -0
- package/package.json +9 -0
package/README.md
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<h1>DeshiJS</h1>
|
|
3
|
+
<p>A smooth, minimal framework for infusing JavaScript with dynamic behavior.</p>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
## Hi there 👋
|
|
7
|
+
|
|
8
|
+
### Welcome to the sleek and minimal framework that brings dynamic behavior to JavaScript! ✨
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# Features
|
|
13
|
+
|
|
14
|
+
- Smooth Integration: Easy-to-use framework for adding dynamic functionality to
|
|
15
|
+
your JavaScript projects.
|
|
16
|
+
- Minimalistic Design: Focus on what matters with a clean and simple setup.
|
|
17
|
+
- Dynamic State Management: Manage and update your state with ease.
|
|
18
|
+
- Explore more and start building with DeshiJS today! 🚀
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
```html
|
|
23
|
+
<div id="root"></div>
|
|
24
|
+
|
|
25
|
+
<template>
|
|
26
|
+
<button @click="incrementCounter()">
|
|
27
|
+
{{ count }} {{count <= 1 ? 'time' : 'times' }}
|
|
28
|
+
</button>
|
|
29
|
+
</template>
|
|
30
|
+
|
|
31
|
+
<script type="module">
|
|
32
|
+
import deshi from "//unpkg.com/deshijs";
|
|
33
|
+
deshi.init();
|
|
34
|
+
|
|
35
|
+
signal = {
|
|
36
|
+
count: 0,
|
|
37
|
+
incrementCounter: function () {
|
|
38
|
+
this.count++;
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
useEffect(() => {
|
|
42
|
+
console.log("component mounted!");
|
|
43
|
+
});
|
|
44
|
+
</script>
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
author: [Nazmul Hossain](https://www.facebook.com/codervai)
|
package/app.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.log("Hello world");
|