jquery-react-render 1.2.2 → 1.3.5
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 +21 -0
- package/index.js +9 -12
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -30,6 +30,27 @@ If your app is an SPA you need to import only one time at first script
|
|
|
30
30
|
import "jquery-react-render"
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
> [!IMPORTANT]
|
|
36
|
+
> Your project need to have jquery as dependencies
|
|
37
|
+
> Use this on core config
|
|
38
|
+
|
|
39
|
+
### **install jquery**
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
npm -D install jquery
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### **load jquery in your project**
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
import $ from "jquery";
|
|
49
|
+
window.$ = window.jQuery = $
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
33
54
|
## Example in vanilla js
|
|
34
55
|
|
|
35
56
|
```js
|