@ressjs/vite-router 0.1.0 → 0.1.1
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 +13 -6
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
# @ressjs/vite-router
|
|
2
2
|
|
|
3
|
-
Express router factory
|
|
3
|
+
Express router factory for ress.js with automatic page detection and Server-Side Rendering (SSR).
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## Installation
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ressjs/vite-router
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Features
|
|
12
|
+
|
|
13
|
+
- **Automatic Routing**: Auto-discovers pages from your file system
|
|
14
|
+
- **SSR Support**: Built-in server-side rendering with hydration
|
|
15
|
+
- **Platform Detection**: Serves different CSS/JS bundles based on device type
|
|
16
|
+
- **Hot Reload**: Development mode with fast refresh
|
|
17
|
+
- **Production Ready**: Optimized builds with asset compression
|
|
11
18
|
- 🛠️ **Zero-config** - Funciona out-of-the-box con configuración mínima
|
|
12
19
|
|
|
13
20
|
## Instalación
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ressjs/vite-router",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Express router factory for ress.js with automatic page detection and SSR",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typescript": "~5.7.3"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@ressjs/core": "^0.1.
|
|
42
|
+
"@ressjs/core": "^0.1.1",
|
|
43
43
|
"chokidar": "^4.0.3",
|
|
44
44
|
"compression": "^1.8.0",
|
|
45
45
|
"express": "^5.0.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"vite": "^6.0.0"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "cfc18bdcd8411a73896fed2e015f3b9697d88d87"
|
|
52
52
|
}
|