vaderjs 1.3.3-alpha-34 → 1.3.3-alpha-35
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 +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,8 +73,9 @@ For pages that have [params] you can derive it using this.request
|
|
|
73
73
|
|
|
74
74
|
```jsx
|
|
75
75
|
// pages/home.jsx
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
import {Component, useState, useRef} = from 'vaderjs/client'
|
|
77
|
+
import Mycomponent from './src/mycomponent.jsx'
|
|
78
|
+
|
|
78
79
|
class Home extends Vader {
|
|
79
80
|
constructor() {
|
|
80
81
|
super();
|
|
@@ -90,7 +91,7 @@ class Home extends Vader {
|
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
|
|
93
|
-
|
|
94
|
+
export default Home
|
|
94
95
|
```
|
|
95
96
|
|
|
96
97
|
|
package/package.json
CHANGED