@harperfast/template-vue-ts-studio 1.10.2 → 1.10.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/config.yaml +6 -6
- 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.
|
|
32
|
-
#
|
|
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
|