source: README.md@ 8849e3b

main
Last change on this file since 8849e3b was 8ee4553, checked in by Bati <no-reply@…>, 7 months ago

scaffold Vike app with Bati

  • Property mode set to 100644
File size: 2.0 KB
RevLine 
[8ee4553]1Generated with [vike.dev/new](https://vike.dev/new) ([version 544](https://www.npmjs.com/package/create-vike/v/0.0.544)) using this command:
2
3```sh
4npm create vike@latest --- --react --authjs --telefunc --hono --drizzle --biome
5```
6
7## Contents
8
9- [Vike](#vike)
10 - [Plus files](#plus-files)
11 - [Routing](#routing)
12 - [SSR](#ssr)
13 - [HTML Streaming](#html-streaming)
14- [Photon](#photon)
15
16## Vike
17
18This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn).
19
20### Plus files
21
22[The + files are the interface](https://vike.dev/config) between Vike and your code.
23
24- [`+config.ts`](https://vike.dev/settings) — Settings (e.g. `<title>`)
25- [`+Page.tsx`](https://vike.dev/Page) — The `<Page>` component
26- [`+data.ts`](https://vike.dev/data) — Fetching data (for your `<Page>` component)
27- [`+Layout.tsx`](https://vike.dev/Layout) — The `<Layout>` component (wraps your `<Page>` components)
28- [`+Head.tsx`](https://vike.dev/Head) - Sets `<head>` tags
29- [`/pages/_error/+Page.tsx`](https://vike.dev/error-page) — The error page (rendered when an error occurs)
30- [`+onPageTransitionStart.ts`](https://vike.dev/onPageTransitionStart) and `+onPageTransitionEnd.ts` — For page transition animations
31
32### Routing
33
34[Vike's built-in router](https://vike.dev/routing) lets you choose between:
35
36- [Filesystem Routing](https://vike.dev/filesystem-routing) (the URL of a page is determined based on where its `+Page.jsx` file is located on the filesystem)
37- [Route Strings](https://vike.dev/route-string)
38- [Route Functions](https://vike.dev/route-function)
39
40### SSR
41
42SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or specific pages.
43
44### HTML Streaming
45
46You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.
47
48## Photon
49
50[Photon](https://photonjs.dev) is a next-generation infrastructure for deploying JavaScript servers.
51
52See [Introducing Photon](https://vike.dev/blog/photon) and [Why Photon](https://photonjs.dev/why) to learn more.
53
Note: See TracBrowser for help on using the repository browser.