@harperfast/template-vue-ts-studio 1.10.2 → 1.10.3

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 (2) hide show
  1. package/config.yaml +6 -6
  2. package/package.json +1 -1
package/config.yaml CHANGED
@@ -28,11 +28,11 @@ jsResource:
28
28
  files: 'src/**/*'
29
29
  output: 'dist'
30
30
 
31
- # Serves the built frontend from Vite's output directory. `notFound` + `fallthrough: false` makes
32
- # client-side routing work (unmatched routes return index.html); the REST routes above take precedence.
31
+ # Serves the built frontend from Vite's output directory. Requests that don't match a file fall
32
+ # through to the REST resources above. If you add client-side routing, use hash-based routing
33
+ # (e.g. Vue Router's `createWebHashHistory`): every page loads from `/`, so deep links work and
34
+ # index.html stays cacheable at a single URL. Do not add a `notFound` + `fallthrough: false`
35
+ # fallback here — the static handler runs before the REST handler, so it would swallow GET
36
+ # requests to your resources.
33
37
  static:
34
38
  files: 'dist/**'
35
- notFound:
36
- file: 'index.html'
37
- statusCode: 200
38
- fallthrough: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harperfast/template-vue-ts-studio",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "type": "module",
5
5
  "repository": "github:HarperFast/create-harper",
6
6
  "scripts": {},