Generated with vike.dev/new (version 514) using this command:
npm create vike@latest --- --vue --tailwindcss --daisyui --ts-rest --h3 --prettierThis app is ready to start. It's powered by Vike and Vue.
The + files are the interface between Vike and your code.
+config.ts— Settings (e.g.<title>)+Page.vue— The<Page>component+data.ts— Fetching data (for your<Page>component)+Layout.vue— The<Layout>component (wraps your<Page>components)+Head.vue- Sets<head>tags/pages/_error/+Page.vue— The error page (rendered when an error occurs)+onPageTransitionStart.tsand+onPageTransitionEnd.ts— For page transition animations
Vike's built-in router lets you choose between:
- Filesystem Routing (the URL of a page is determined based on where its
+Page.vuefile is located on the filesystem) - Route Strings
- Route Functions
SSR is enabled by default. You can disable it for all or specific pages.
You can enable/disable HTML streaming for all or specific pages.
Photon is a next-generation server and deployment toolkit. It supports popular deployments (self-hosted, Cloudflare, Vercel, and more) and popular servers (Hono, Express, Fastify, and more).