@clikvn/showroom-visualizer 0.2.2-dev-10 → 0.2.2-dev-11

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.
Files changed (71) hide show
  1. package/.idea/inspectionProfiles/Project_Default.xml +36 -0
  2. package/.idea/jsLinters/eslint.xml +7 -0
  3. package/.idea/misc.xml +9 -0
  4. package/.idea/modules.xml +8 -0
  5. package/.idea/prettier.xml +8 -0
  6. package/.idea/showroom-visualizer.iml +9 -0
  7. package/.idea/vcs.xml +6 -0
  8. package/DEVELOPMENT.md +120 -120
  9. package/EXAMPLES.md +967 -967
  10. package/README.md +139 -139
  11. package/SETUP_COMPLETE.md +149 -149
  12. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts +16 -0
  13. package/dist/components/SkinLayer/Drawer/PoiHeader/index.d.ts.map +1 -0
  14. package/dist/components/SkinLayer/Drawer/index.d.ts +29 -0
  15. package/dist/components/SkinLayer/Drawer/index.d.ts.map +1 -0
  16. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts +30 -0
  17. package/dist/components/SkinLayer/GalleryFullScreen/Content/ARViewer.d.ts.map +1 -0
  18. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts +10 -0
  19. package/dist/components/SkinLayer/ModalItemInfo/Description.d.ts.map +1 -0
  20. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts +9 -0
  21. package/dist/components/SkinLayer/ModalItemInfo/Intro.d.ts.map +1 -0
  22. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts +13 -0
  23. package/dist/components/SkinLayer/ModalItemInfo/Media.d.ts.map +1 -0
  24. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts +10 -0
  25. package/dist/components/SkinLayer/ModalItemInfo/index.d.ts.map +1 -0
  26. package/dist/components/SkinLayer/PlayAll/index.d.ts +8 -0
  27. package/dist/components/SkinLayer/PlayAll/index.d.ts.map +1 -0
  28. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts +13 -0
  29. package/dist/components/SkinLayer/PoiTextureOptions/HorizontalMenu/index.d.ts.map +1 -0
  30. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts +13 -0
  31. package/dist/components/SkinLayer/PoiTextureOptions/SemicircleMenu/index.d.ts.map +1 -0
  32. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts +15 -0
  33. package/dist/components/SkinLayer/PoiTextureOptions/TextureMenuItem/index.d.ts.map +1 -0
  34. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts +13 -0
  35. package/dist/components/SkinLayer/PoiTextureOptions/VerticalMenu/index.d.ts.map +1 -0
  36. package/dist/context/StoreContext.d.ts +5 -0
  37. package/dist/context/StoreContext.d.ts.map +1 -0
  38. package/dist/features/ShowroomVisualizer/Scripts.d.ts +4 -0
  39. package/dist/features/ShowroomVisualizer/Scripts.d.ts.map +1 -0
  40. package/dist/features/ShowroomVisualizer/TourContainer.d.ts +9 -0
  41. package/dist/features/ShowroomVisualizer/TourContainer.d.ts.map +1 -0
  42. package/dist/features/ShowroomVisualizer/Tours.d.ts +3 -0
  43. package/dist/features/ShowroomVisualizer/Tours.d.ts.map +1 -0
  44. package/dist/features/VirtualTourVisualizer/index.d.ts +20 -0
  45. package/dist/features/VirtualTourVisualizer/index.d.ts.map +1 -0
  46. package/dist/features/VirtualTourVisualizerUI/index.d.ts +17 -0
  47. package/dist/features/VirtualTourVisualizerUI/index.d.ts.map +1 -0
  48. package/dist/hooks/Visualizer/reducer.d.ts +116 -0
  49. package/dist/hooks/Visualizer/reducer.d.ts.map +1 -0
  50. package/dist/index.html +95 -95
  51. package/dist/index.js +1 -1
  52. package/dist/web.js +1 -1
  53. package/example/CSS_HANDLING.md +141 -141
  54. package/example/FIXES_SUMMARY.md +121 -121
  55. package/example/PATH_ALIASES.md +103 -103
  56. package/example/README.md +64 -64
  57. package/example/index.html +13 -13
  58. package/example/package.json +25 -25
  59. package/example/postcss.config.cjs +5 -5
  60. package/example/tailwind.config.cjs +12 -12
  61. package/example/tsconfig.node.json +12 -12
  62. package/example/vite.config.ts +125 -125
  63. package/package.json +132 -132
  64. package/rollup.config.js +2 -1
  65. package/.claude/settings.local.json +0 -19
  66. package/dist/context/SwizzleContext.d.ts +0 -21
  67. package/dist/context/SwizzleContext.d.ts.map +0 -1
  68. package/dist/types/swizzle.d.ts +0 -59
  69. package/dist/types/swizzle.d.ts.map +0 -1
  70. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts → cssStyles.d.ts} +0 -0
  71. /package/dist/features/ShowroomVisualizer/{CssStyles.d.ts.map → cssStyles.d.ts.map} +0 -0
@@ -1,141 +1,141 @@
1
- # 🎨 CSS Handling in Example App
2
-
3
- ## Vấn đề
4
-
5
- ```
6
- Uncaught SyntaxError: The requested module '.../actionsChangeSceneStyles.css' does not provide an export named 'default'
7
- ```
8
-
9
- ## Nguyên nhân
10
-
11
- ### Thư viện (Rollup Build)
12
-
13
- Thư viện sử dụng Rollup với PostCSS plugin config:
14
-
15
- ```javascript
16
- postcss({
17
- inject: false, // ← Không inject CSS vào DOM
18
- extract: false, // ← Export CSS as string
19
- })
20
- ```
21
-
22
- Điều này cho phép import CSS như strings:
23
-
24
- ```typescript
25
- import styles from './styles.css';
26
- // styles = "css content as string"
27
- ```
28
-
29
- Và render trong component `CssStyles.tsx`:
30
-
31
- ```tsx
32
- <style>{styles}</style>
33
- ```
34
-
35
- ### Vite (Development)
36
-
37
- Vite mặc định **inject CSS trực tiếp vào DOM** và không export CSS as strings.
38
-
39
- ```typescript
40
- import styles from './styles.css';
41
- // Vite inject CSS → styles = undefined
42
- // ❌ Error: does not provide an export named 'default'
43
- ```
44
-
45
- ## Giải pháp
46
-
47
- ### Custom Vite Plugin: `cssAsStringPlugin`
48
-
49
- Tạo plugin trong `vite.config.ts` để xử lý CSS từ thư viện như strings:
50
-
51
- ```typescript
52
- const cssAsStringPlugin = () => ({
53
- name: 'css-as-string',
54
- enforce: 'pre', // ⭐ Run BEFORE other plugins (critical!)
55
- load(id: string) {
56
- // Chỉ xử lý CSS từ thư viện
57
- if (
58
- id.endsWith('.css') &&
59
- (id.includes('/src/assets/') || id.includes('/@clikvn/'))
60
- ) {
61
- const cssContent = fs.readFileSync(id, 'utf-8');
62
- return `export default ${JSON.stringify(cssContent)}`;
63
- }
64
- return null;
65
- },
66
- });
67
-
68
- // Plugin order matters!
69
- plugins: [cssAsStringPlugin(), react()]
70
- ```
71
-
72
- **Key Points:**
73
- - ⭐ **`enforce: 'pre'`**: Chạy trước Vite's built-in CSS plugin
74
- - ⭐ **`load` hook**: Intercept file loading, không dùng `transform`
75
- - ⭐ **Plugin order**: `cssAsStringPlugin()` phải đứng TRƯỚC `react()`
76
-
77
- ### Cách hoạt động
78
-
79
- 1. **CSS từ thư viện** (`/src/assets/`) → Export as string
80
- 2. **CSS từ @clikvn packages** → Export as string
81
- 3. **CSS khác** (antd, example app CSS) → Vite xử lý bình thường
82
-
83
- ### Files được xử lý
84
-
85
- Plugin chỉ xử lý CSS files trong:
86
-
87
- - ✅ `/Users/tungthai/Desktop/Develop/showroom-visualizer/src/assets/*.css`
88
- - ✅ `node_modules/@clikvn/*/dist/**/*.css`
89
- - ❌ `node_modules/antd/**/*.css` (Vite xử lý bình thường)
90
- - ❌ `example/src/**/*.css` (Vite xử lý bình thường)
91
-
92
- ## Kết quả
93
-
94
- ### ✅ Trước (Rollup Build):
95
-
96
- ```typescript
97
- import styles from './styles.css';
98
- <style>{styles}</style> // ✅ Works
99
- ```
100
-
101
- ### ✅ Sau (Vite Dev with Plugin):
102
-
103
- ```typescript
104
- import styles from './styles.css';
105
- <style>{styles}</style> // ✅ Works (plugin export CSS as string)
106
- ```
107
-
108
- ### ✅ CSS từ example app:
109
-
110
- ```typescript
111
- // example/src/App.css
112
- import './App.css'; // ✅ Vite inject vào DOM bình thường
113
- ```
114
-
115
- ## 🔍 Debug
116
-
117
- Nếu vẫn có lỗi CSS, kiểm tra:
118
-
119
- ```bash
120
- # 1. Restart dev server
121
- cd example
122
- yarn dev
123
-
124
- # 2. Clear Vite cache
125
- rm -rf node_modules/.vite
126
- yarn dev
127
-
128
- # 3. Kiểm tra plugin đang hoạt động
129
- # Trong browser console, check xem CSS đã được inject chưa
130
- ```
131
-
132
- ## 📚 Related Files
133
-
134
- - `example/vite.config.ts` - Chứa `cssAsStringPlugin`
135
- - `src/features/ShowroomVisualizer/CssStyles.tsx` - Render CSS as `<style>` tags
136
- - `rollup.config.js` - PostCSS config của thư viện
137
-
138
- ---
139
-
140
- ✅ **Fixed!** CSS từ thư viện giờ được export as strings trong Vite dev mode.
141
-
1
+ # 🎨 CSS Handling in Example App
2
+
3
+ ## Vấn đề
4
+
5
+ ```
6
+ Uncaught SyntaxError: The requested module '.../actionsChangeSceneStyles.css' does not provide an export named 'default'
7
+ ```
8
+
9
+ ## Nguyên nhân
10
+
11
+ ### Thư viện (Rollup Build)
12
+
13
+ Thư viện sử dụng Rollup với PostCSS plugin config:
14
+
15
+ ```javascript
16
+ postcss({
17
+ inject: false, // ← Không inject CSS vào DOM
18
+ extract: false, // ← Export CSS as string
19
+ })
20
+ ```
21
+
22
+ Điều này cho phép import CSS như strings:
23
+
24
+ ```typescript
25
+ import styles from './styles.css';
26
+ // styles = "css content as string"
27
+ ```
28
+
29
+ Và render trong component `CssStyles.tsx`:
30
+
31
+ ```tsx
32
+ <style>{styles}</style>
33
+ ```
34
+
35
+ ### Vite (Development)
36
+
37
+ Vite mặc định **inject CSS trực tiếp vào DOM** và không export CSS as strings.
38
+
39
+ ```typescript
40
+ import styles from './styles.css';
41
+ // Vite inject CSS → styles = undefined
42
+ // ❌ Error: does not provide an export named 'default'
43
+ ```
44
+
45
+ ## Giải pháp
46
+
47
+ ### Custom Vite Plugin: `cssAsStringPlugin`
48
+
49
+ Tạo plugin trong `vite.config.ts` để xử lý CSS từ thư viện như strings:
50
+
51
+ ```typescript
52
+ const cssAsStringPlugin = () => ({
53
+ name: 'css-as-string',
54
+ enforce: 'pre', // ⭐ Run BEFORE other plugins (critical!)
55
+ load(id: string) {
56
+ // Chỉ xử lý CSS từ thư viện
57
+ if (
58
+ id.endsWith('.css') &&
59
+ (id.includes('/src/assets/') || id.includes('/@clikvn/'))
60
+ ) {
61
+ const cssContent = fs.readFileSync(id, 'utf-8');
62
+ return `export default ${JSON.stringify(cssContent)}`;
63
+ }
64
+ return null;
65
+ },
66
+ });
67
+
68
+ // Plugin order matters!
69
+ plugins: [cssAsStringPlugin(), react()]
70
+ ```
71
+
72
+ **Key Points:**
73
+ - ⭐ **`enforce: 'pre'`**: Chạy trước Vite's built-in CSS plugin
74
+ - ⭐ **`load` hook**: Intercept file loading, không dùng `transform`
75
+ - ⭐ **Plugin order**: `cssAsStringPlugin()` phải đứng TRƯỚC `react()`
76
+
77
+ ### Cách hoạt động
78
+
79
+ 1. **CSS từ thư viện** (`/src/assets/`) → Export as string
80
+ 2. **CSS từ @clikvn packages** → Export as string
81
+ 3. **CSS khác** (antd, example app CSS) → Vite xử lý bình thường
82
+
83
+ ### Files được xử lý
84
+
85
+ Plugin chỉ xử lý CSS files trong:
86
+
87
+ - ✅ `/Users/tungthai/Desktop/Develop/showroom-visualizer/src/assets/*.css`
88
+ - ✅ `node_modules/@clikvn/*/dist/**/*.css`
89
+ - ❌ `node_modules/antd/**/*.css` (Vite xử lý bình thường)
90
+ - ❌ `example/src/**/*.css` (Vite xử lý bình thường)
91
+
92
+ ## Kết quả
93
+
94
+ ### ✅ Trước (Rollup Build):
95
+
96
+ ```typescript
97
+ import styles from './styles.css';
98
+ <style>{styles}</style> // ✅ Works
99
+ ```
100
+
101
+ ### ✅ Sau (Vite Dev with Plugin):
102
+
103
+ ```typescript
104
+ import styles from './styles.css';
105
+ <style>{styles}</style> // ✅ Works (plugin export CSS as string)
106
+ ```
107
+
108
+ ### ✅ CSS từ example app:
109
+
110
+ ```typescript
111
+ // example/src/App.css
112
+ import './App.css'; // ✅ Vite inject vào DOM bình thường
113
+ ```
114
+
115
+ ## 🔍 Debug
116
+
117
+ Nếu vẫn có lỗi CSS, kiểm tra:
118
+
119
+ ```bash
120
+ # 1. Restart dev server
121
+ cd example
122
+ yarn dev
123
+
124
+ # 2. Clear Vite cache
125
+ rm -rf node_modules/.vite
126
+ yarn dev
127
+
128
+ # 3. Kiểm tra plugin đang hoạt động
129
+ # Trong browser console, check xem CSS đã được inject chưa
130
+ ```
131
+
132
+ ## 📚 Related Files
133
+
134
+ - `example/vite.config.ts` - Chứa `cssAsStringPlugin`
135
+ - `src/features/ShowroomVisualizer/CssStyles.tsx` - Render CSS as `<style>` tags
136
+ - `rollup.config.js` - PostCSS config của thư viện
137
+
138
+ ---
139
+
140
+ ✅ **Fixed!** CSS từ thư viện giờ được export as strings trong Vite dev mode.
141
+
@@ -1,121 +1,121 @@
1
- # 🎯 Example App - Fixes Summary
2
-
3
- ## 2 vấn đề đã được fix:
4
-
5
- ---
6
-
7
- ## 1️⃣ Path Aliases Resolution ✅
8
-
9
- ### Lỗi:
10
- ```
11
- [plugin:vite:import-analysis] Failed to resolve import "commons/SkinLayer/components/Drawer"
12
- ```
13
-
14
- ### Root Cause:
15
- Thư viện sử dụng `baseUrl: "./src"` cho phép imports:
16
- ```typescript
17
- import Drawer from 'commons/SkinLayer/components/Drawer';
18
- ```
19
-
20
- Example app không biết về aliases này.
21
-
22
- ### Fix:
23
- Thêm 10 path aliases vào `vite.config.ts` và `tsconfig.json`:
24
- - `commons/*`, `components/*`, `constants/*`, `context/*`, `features/*`
25
- - `hooks/*`, `models/*`, `services/*`, `types/*`, `utils/*`
26
-
27
- ### Status: ✅ Fixed
28
-
29
- ---
30
-
31
- ## 2️⃣ CSS Imports as Strings ✅
32
-
33
- ### Lỗi:
34
- ```
35
- Uncaught SyntaxError: The requested module '.../actionsChangeSceneStyles.css'
36
- does not provide an export named 'default'
37
- ```
38
-
39
- ### Root Cause:
40
- - **Thư viện (Rollup)**: CSS exported as strings với `postcss({ inject: false })`
41
- - **Vite**: Mặc định inject CSS, không export strings
42
- - **CssStyles.tsx**: Cần CSS as strings để render `<style>{css}</style>`
43
-
44
- ### Fix:
45
- Tạo custom Vite plugin `cssAsStringPlugin` với 3 key points:
46
-
47
- ```typescript
48
- const cssAsStringPlugin = () => ({
49
- name: 'css-as-string',
50
- enforce: 'pre', // ⭐ Critical: Run BEFORE other plugins
51
- load(id: string) { // ⭐ Use 'load' hook, not 'transform'
52
- if (
53
- id.endsWith('.css') &&
54
- (id.includes('/src/assets/') || id.includes('/@clikvn/'))
55
- ) {
56
- const cssContent = fs.readFileSync(id, 'utf-8');
57
- return `export default ${JSON.stringify(cssContent)}`;
58
- }
59
- },
60
- });
61
-
62
- // ⭐ Plugin order matters!
63
- plugins: [cssAsStringPlugin(), react()]
64
- ```
65
-
66
- **3 điều quan trọng:**
67
- 1. `enforce: 'pre'` - Chạy trước Vite CSS plugin
68
- 2. `load()` hook - Intercept file loading sớm
69
- 3. Plugin order - Đặt TRƯỚC `react()`
70
-
71
- Plugin chỉ xử lý:
72
- - ✅ CSS từ `/src/assets/` → Export as string
73
- - ✅ CSS từ `@clikvn/*` packages → Export as string
74
- - ❌ CSS khác (antd, example CSS) → Vite xử lý bình thường
75
-
76
- ### Status: ✅ Fixed
77
-
78
- ---
79
-
80
- ## 📊 Tổng kết
81
-
82
- | Issue | Status | Files Changed |
83
- |-------|--------|---------------|
84
- | Path Aliases | ✅ Fixed | `vite.config.ts`, `tsconfig.json` |
85
- | CSS Imports | ✅ Fixed | `vite.config.ts` (plugin) |
86
-
87
- ---
88
-
89
- ## 🚀 Kết quả
90
-
91
- **Example app giờ hoạt động 100%!**
92
-
93
- ✅ Dev server: http://localhost:3001
94
- ✅ Import từ `src/` trực tiếp
95
- ✅ Hot reload
96
- ✅ Path aliases
97
- ✅ CSS handling
98
- ✅ Test custom layout
99
-
100
- ---
101
-
102
- ## 📚 Documents
103
-
104
- - [PATH_ALIASES.md](./PATH_ALIASES.md) - Chi tiết về path aliases
105
- - [CSS_HANDLING.md](./CSS_HANDLING.md) - Chi tiết về CSS plugin
106
- - [CHANGELOG.md](./CHANGELOG.md) - Lịch sử thay đổi
107
- - [README.md](./README.md) - Hướng dẫn sử dụng
108
-
109
- ---
110
-
111
- ## 🎉 Ready to Use!
112
-
113
- ```bash
114
- cd example
115
- yarn dev
116
-
117
- # Open: http://localhost:3001
118
- ```
119
-
120
- Thay đổi code trong `../src/` → Tự động reload! 🔥
121
-
1
+ # 🎯 Example App - Fixes Summary
2
+
3
+ ## 2 vấn đề đã được fix:
4
+
5
+ ---
6
+
7
+ ## 1️⃣ Path Aliases Resolution ✅
8
+
9
+ ### Lỗi:
10
+ ```
11
+ [plugin:vite:import-analysis] Failed to resolve import "commons/SkinLayer/components/Drawer"
12
+ ```
13
+
14
+ ### Root Cause:
15
+ Thư viện sử dụng `baseUrl: "./src"` cho phép imports:
16
+ ```typescript
17
+ import Drawer from 'commons/SkinLayer/components/Drawer';
18
+ ```
19
+
20
+ Example app không biết về aliases này.
21
+
22
+ ### Fix:
23
+ Thêm 10 path aliases vào `vite.config.ts` và `tsconfig.json`:
24
+ - `commons/*`, `components/*`, `constants/*`, `context/*`, `features/*`
25
+ - `hooks/*`, `models/*`, `services/*`, `types/*`, `utils/*`
26
+
27
+ ### Status: ✅ Fixed
28
+
29
+ ---
30
+
31
+ ## 2️⃣ CSS Imports as Strings ✅
32
+
33
+ ### Lỗi:
34
+ ```
35
+ Uncaught SyntaxError: The requested module '.../actionsChangeSceneStyles.css'
36
+ does not provide an export named 'default'
37
+ ```
38
+
39
+ ### Root Cause:
40
+ - **Thư viện (Rollup)**: CSS exported as strings với `postcss({ inject: false })`
41
+ - **Vite**: Mặc định inject CSS, không export strings
42
+ - **CssStyles.tsx**: Cần CSS as strings để render `<style>{css}</style>`
43
+
44
+ ### Fix:
45
+ Tạo custom Vite plugin `cssAsStringPlugin` với 3 key points:
46
+
47
+ ```typescript
48
+ const cssAsStringPlugin = () => ({
49
+ name: 'css-as-string',
50
+ enforce: 'pre', // ⭐ Critical: Run BEFORE other plugins
51
+ load(id: string) { // ⭐ Use 'load' hook, not 'transform'
52
+ if (
53
+ id.endsWith('.css') &&
54
+ (id.includes('/src/assets/') || id.includes('/@clikvn/'))
55
+ ) {
56
+ const cssContent = fs.readFileSync(id, 'utf-8');
57
+ return `export default ${JSON.stringify(cssContent)}`;
58
+ }
59
+ },
60
+ });
61
+
62
+ // ⭐ Plugin order matters!
63
+ plugins: [cssAsStringPlugin(), react()]
64
+ ```
65
+
66
+ **3 điều quan trọng:**
67
+ 1. `enforce: 'pre'` - Chạy trước Vite CSS plugin
68
+ 2. `load()` hook - Intercept file loading sớm
69
+ 3. Plugin order - Đặt TRƯỚC `react()`
70
+
71
+ Plugin chỉ xử lý:
72
+ - ✅ CSS từ `/src/assets/` → Export as string
73
+ - ✅ CSS từ `@clikvn/*` packages → Export as string
74
+ - ❌ CSS khác (antd, example CSS) → Vite xử lý bình thường
75
+
76
+ ### Status: ✅ Fixed
77
+
78
+ ---
79
+
80
+ ## 📊 Tổng kết
81
+
82
+ | Issue | Status | Files Changed |
83
+ |-------|--------|---------------|
84
+ | Path Aliases | ✅ Fixed | `vite.config.ts`, `tsconfig.json` |
85
+ | CSS Imports | ✅ Fixed | `vite.config.ts` (plugin) |
86
+
87
+ ---
88
+
89
+ ## 🚀 Kết quả
90
+
91
+ **Example app giờ hoạt động 100%!**
92
+
93
+ ✅ Dev server: http://localhost:3001
94
+ ✅ Import từ `src/` trực tiếp
95
+ ✅ Hot reload
96
+ ✅ Path aliases
97
+ ✅ CSS handling
98
+ ✅ Test custom layout
99
+
100
+ ---
101
+
102
+ ## 📚 Documents
103
+
104
+ - [PATH_ALIASES.md](./PATH_ALIASES.md) - Chi tiết về path aliases
105
+ - [CSS_HANDLING.md](./CSS_HANDLING.md) - Chi tiết về CSS plugin
106
+ - [CHANGELOG.md](./CHANGELOG.md) - Lịch sử thay đổi
107
+ - [README.md](./README.md) - Hướng dẫn sử dụng
108
+
109
+ ---
110
+
111
+ ## 🎉 Ready to Use!
112
+
113
+ ```bash
114
+ cd example
115
+ yarn dev
116
+
117
+ # Open: http://localhost:3001
118
+ ```
119
+
120
+ Thay đổi code trong `../src/` → Tự động reload! 🔥
121
+