initial-commit
This commit is contained in:
45
README.md
Normal file
45
README.md
Normal file
@@ -0,0 +1,45 @@
|
||||
Generated with [vike.dev/new](https://vike.dev/new) ([version 599](https://www.npmjs.com/package/create-vike/v/0.0.599)) using this command:
|
||||
|
||||
```sh
|
||||
npm create vike@latest --- --vue --prettier
|
||||
```
|
||||
|
||||
## Contents
|
||||
|
||||
- [Vike](#vike)
|
||||
- [Plus files](#plus-files)
|
||||
- [Routing](#routing)
|
||||
- [SSR](#ssr)
|
||||
- [HTML Streaming](#html-streaming)
|
||||
|
||||
## Vike
|
||||
|
||||
This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
|
||||
|
||||
### Plus files
|
||||
|
||||
[The + files are the interface](https://vike.dev/config) between Vike and your code.
|
||||
|
||||
- [`+config.ts`](https://vike.dev/settings) — Settings (e.g. `<title>`)
|
||||
- [`+Page.vue`](https://vike.dev/Page) — The `<Page>` component
|
||||
- [`+data.ts`](https://vike.dev/data) — Fetching data (for your `<Page>` component)
|
||||
- [`+Layout.vue`](https://vike.dev/Layout) — The `<Layout>` component (wraps your `<Page>` components)
|
||||
- [`+Head.vue`](https://vike.dev/Head) - Sets `<head>` tags
|
||||
- [`/pages/_error/+Page.vue`](https://vike.dev/error-page) — The error page (rendered when an error occurs)
|
||||
- [`+onPageTransitionStart.ts`](https://vike.dev/onPageTransitionStart) and `+onPageTransitionEnd.ts` — For page transition animations
|
||||
|
||||
### Routing
|
||||
|
||||
[Vike's built-in router](https://vike.dev/routing) lets you choose between:
|
||||
|
||||
- [Filesystem Routing](https://vike.dev/filesystem-routing) (the URL of a page is determined based on where its `+Page.vue` file is located on the filesystem)
|
||||
- [Route Strings](https://vike.dev/route-string)
|
||||
- [Route Functions](https://vike.dev/route-function)
|
||||
|
||||
### SSR
|
||||
|
||||
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or specific pages.
|
||||
|
||||
### HTML Streaming
|
||||
|
||||
You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.
|
||||
Reference in New Issue
Block a user