- This page is rendered to HTML (using SSR) and hydrated in the browser.
-
diff --git a/examples/ssr-spa/pages/spa/+Page.vue b/examples/ssr-spa/pages/spa/+Page.vue
deleted file mode 100644
index a8238efc..00000000
--- a/examples/ssr-spa/pages/spa/+Page.vue
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
My Vike + Vue app
- This page is rendered only in the browser.
-
diff --git a/examples/ssr-spa/pages/spa/+config.ts b/examples/ssr-spa/pages/spa/+config.ts
deleted file mode 100644
index ca6cf72a..00000000
--- a/examples/ssr-spa/pages/spa/+config.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import type { Config } from 'vike/types'
-
-export default {
- ssr: false // SPA
-} satisfies Config
diff --git a/examples/ssr-spa/readme.md b/examples/ssr-spa/readme.md
deleted file mode 100644
index 1802fd71..00000000
--- a/examples/ssr-spa/readme.md
+++ /dev/null
@@ -1,10 +0,0 @@
-Example of selecting SPA or SSR on a per-page basis. See
-[SPA vs SSR (and more)](https://vike.dev/SPA-vs-SSR).
-
-```bash
-git clone git@github.com:vikejs/vike-vue
-cd vike-vue/
-pnpm install
-cd examples/ssr-spa/
-pnpm run dev
-```
diff --git a/examples/ssr-spa/tsconfig.json b/examples/ssr-spa/tsconfig.json
deleted file mode 100644
index 542ade43..00000000
--- a/examples/ssr-spa/tsconfig.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "compilerOptions": {
- "strict": true,
- "module": "ES2020",
- "moduleResolution": "Node",
- "target": "ES2020",
- "lib": ["DOM", "DOM.Iterable", "ESNext"],
- "types": ["vite/client"],
- "skipLibCheck": true,
- "esModuleInterop": true
- }
-}
diff --git a/examples/ssr-spa/vite.config.ts b/examples/ssr-spa/vite.config.ts
deleted file mode 100644
index e3afd1de..00000000
--- a/examples/ssr-spa/vite.config.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import vue from '@vitejs/plugin-vue'
-import vike from 'vike/plugin'
-import { UserConfig } from 'vite'
-
-const config: UserConfig = {
- plugins: [
- vike({ prerender: true }),
- vue({
- include: [/\.vue$/, /\.md$/]
- })
- ]
-}
-
-export default config
diff --git a/examples/ssr-spa/vue-shim.d.ts b/examples/ssr-spa/vue-shim.d.ts
deleted file mode 100644
index fce3d669..00000000
--- a/examples/ssr-spa/vue-shim.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-// Without this file, `tsc` will fail with such errors:
-// pages/+config.ts:3:20 - error TS2307: Cannot find module '../layouts/LayoutDefault.vue' or its corresponding type declarations.
-// import Layout from "../layouts/LayoutDefault.vue"
-// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-//
-// See https://stackoverflow.com/questions/71477277/typescript-cannot-find-module-in-vue-project
-
-declare module '*.vue' {
- import Vue from 'vue'
- export default Vue
-}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f08c3d6d..50deb3cd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -64,31 +64,6 @@ importers:
specifier: ^1.8.27
version: 1.8.27(typescript@5.3.3)
- examples/ssr-spa:
- dependencies:
- '@vitejs/plugin-vue':
- specifier: ^5.0.4
- version: 5.0.4(vite@5.1.1)(vue@3.4.18)
- vike:
- specifier: ^0.4.165
- version: 0.4.165(vite@5.1.1)
- vike-vue:
- specifier: link:../../packages/vike-vue
- version: link:../../packages/vike-vue
- vite:
- specifier: ^5.1.1
- version: 5.1.1(@types/node@20.11.17)
- vue:
- specifier: ^3.4.18
- version: 3.4.18(typescript@5.3.3)
- devDependencies:
- typescript:
- specifier: ^5.3.3
- version: 5.3.3
- vue-tsc:
- specifier: ^1.8.27
- version: 1.8.27(typescript@5.3.3)
-
examples/with-vike-pinia:
dependencies:
'@vitejs/plugin-vue':