wdwh 1.6.2 → 1.6.4
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 +3 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Works only with Bun runtime
|
|
4
4
|
|
|
5
|
-
## Init new project
|
|
5
|
+
## (Init new project)[https://www.npmjs.com/package/create-wdwh-app]
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
bun create wdwh-app@latest .
|
|
@@ -13,19 +13,17 @@ bun create wdwh-app@latest .
|
|
|
13
13
|
### 1. Install `wdwh`
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
|
-
bun i wdwh
|
|
16
|
+
bun i -d wdwh
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
### 2. Add script `dev` `build` to `package.json`
|
|
20
20
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
23
|
-
"private": true,
|
|
24
23
|
"scripts": {
|
|
25
24
|
"dev": "wdwh dev",
|
|
26
25
|
"build": "wdwh build"
|
|
27
26
|
}
|
|
28
|
-
// ...
|
|
29
27
|
}
|
|
30
28
|
```
|
|
31
29
|
|
|
@@ -33,7 +31,7 @@ bun i wdwh
|
|
|
33
31
|
|
|
34
32
|
create file structure like example
|
|
35
33
|
|
|
36
|
-
https://github.com/kubashh/wdwh/tree/main/
|
|
34
|
+
https://github.com/kubashh/create-wdwh-app/tree/main/template
|
|
37
35
|
|
|
38
36
|
- `src/app/index.tsx` (contains only `html` `head` `body` tags and `metadata`)
|
|
39
37
|
- `src/app/App.tsx` (app entry point)
|