@remyyy/create-velox 0.0.5 → 0.0.6
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/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { createSignal } from 'velox'
|
|
1
|
+
import { createSignal } from '@remyyy/velox'
|
|
2
2
|
|
|
3
3
|
export default function App() {
|
|
4
4
|
const [count, setCount] = createSignal(0)
|
|
5
5
|
|
|
6
6
|
return (
|
|
7
7
|
<div>
|
|
8
|
-
|
|
8
|
+
<h1>Hello Velox! </h1>
|
|
9
9
|
< div class="card" >
|
|
10
|
-
<button onclick={
|
|
11
|
-
count is {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
</p>
|
|
16
|
-
</div>
|
|
17
|
-
< p class="read-the-docs" >
|
|
18
|
-
Click on the Velox logo to learn more
|
|
10
|
+
<button onclick={() => setCount(c => c + 1)}>
|
|
11
|
+
count is {count}
|
|
12
|
+
</button>
|
|
13
|
+
<p>
|
|
14
|
+
Edit < code > src / App.ts </code> and save to test HMR
|
|
19
15
|
</p>
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
</div>
|
|
17
|
+
< p class="read-the-docs" >
|
|
18
|
+
Click on the Velox logo to learn more
|
|
19
|
+
</p>
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
22
|
}
|