Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 29a693b

Browse files
committed
update
1 parent 6d77784 commit 29a693b

File tree

3 files changed

+29
-33
lines changed

3 files changed

+29
-33
lines changed

packages/fastify-dx-vue/README.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
1-
# fastify-dx-react [![NPM version](https://img.shields.io/npm/v/fastify-dx-react.svg?style=flat)](https://www.npmjs.com/package/fastify-dx-react) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
2-
3-
- [**Introduction**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-react/README.md#introduction)
4-
- [**Quick Start**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-react/README.md#quick-start)
5-
- [**Package Scripts**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-react/README.md#package-scripts)
6-
- [**Basic Setup**](https://github.com/fastify/fastify-dx/blob/main/docs/react/basic-setup.md)
7-
- [**Project Structure**](https://github.com/fastify/fastify-dx/blob/main/docs/react/project-structure.md)
8-
- [**Rendering Modes**](https://github.com/fastify/fastify-dx/blob/main/docs/react/rendering-modes.md)
9-
- [**Routing Configuration**](https://github.com/fastify/fastify-dx/blob/main/docs/react/routing-config.md)
10-
- [**Data Prefetching**](https://github.com/fastify/fastify-dx/blob/main/docs/react/data-prefetching.md)
11-
- [**Route Layouts**](https://github.com/fastify/fastify-dx/blob/main/docs/react/route-layouts.md)
12-
- [**Route Context**](https://github.com/fastify/fastify-dx/blob/main/docs/react/route-context.md)
13-
- [**Route Enter Event**](https://github.com/fastify/fastify-dx/blob/main/docs/react/route-enter.md)
14-
- [**Virtual Modules**](https://github.com/fastify/fastify-dx/blob/main/docs/react/virtual-modules.md)
1+
# fastify-dx-vue [![NPM version](https://img.shields.io/npm/v/fastify-dx-vue.svg?style=flat)](https://www.npmjs.com/package/fastify-dx-vue) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
2+
3+
- [**Introduction**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-vue/README.md#introduction)
4+
- [**Quick Start**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-vue/README.md#quick-start)
5+
- [**Package Scripts**](https://github.com/fastify/fastify-dx/blob/main/packages/fastify-dx-vue/README.md#package-scripts)
6+
- [**Basic Setup**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/basic-setup.md)
7+
- [**Project Structure**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/project-structure.md)
8+
- [**Rendering Modes**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/rendering-modes.md)
9+
- [**Routing Configuration**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/routing-config.md)
10+
- [**Data Prefetching**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/data-prefetching.md)
11+
- [**Route Layouts**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/route-layouts.md)
12+
- [**Route Context**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/route-context.md)
13+
- [**Route Enter Event**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/route-enter.md)
14+
- [**Virtual Modules**](https://github.com/fastify/fastify-dx/blob/main/docs/vue/virtual-modules.md)
1515

1616
## Introduction
1717

18-
**Fastify DX for React** is a renderer adapter for [**fastify-vite**](https://github.com/fastify/fastify-vite).
18+
**Fastify DX for Vue** is a renderer adapter for [**fastify-vite**](https://github.com/fastify/fastify-vite).
1919

20-
It is a **fast**, **lightweight** alternative to Next.js and Remix packed with **Developer Experience** features.
20+
It is a **fast**, **lightweight** alternative to Nuxt.js packed with **Developer Experience** features.
2121

22-
It has an extremely small core (~1k LOC total) and is built on top of [Fastify](https://github.com/fastify/fastify), [Vite](https://vitejs.dev/), [React Router](https://reactrouter.com/docs/en/v6) and [Valtio](https://github.com/pmndrs/valtio).
22+
It has an extremely small core (~1k LOC total) and is built on top of [Fastify](https://github.com/fastify/fastify), [Vite](https://vitejs.dev/) and [Vue Router](https://router.vuejs.org/).
2323

24-
[**See the release notes for the 0.0.1 alpha release**](https://github.com/fastify/fastify-dx/releases/tag/v0.0.1).
24+
[**See the release notes for the 0.0.1 alpha release**](https://github.com/fastify/fastify-dx/releases/tag/vue-v0.0.1).
2525

2626
> At this stage this project is mostly a [**one-man show**](https://github.com/sponsors/galvez), who's devoting all his free time to its completion. Contributions are extremely welcome, as well as bug reports for any issues you may find.
2727
@@ -33,17 +33,17 @@ It'll move into **beta** status when test suites are added to both packages.
3333

3434
Ensure you have **Node v16+**.
3535

36-
Make a copy of [**starters/react**](https://github.com/fastify/fastify-dx/tree/dev/starters/react). If you have [`degit`](https://github.com/Rich-Harris/degit), run the following from a new directory:
36+
Make a copy of [**starters/vue**](https://github.com/fastify/fastify-dx/tree/dev/starters/vue). If you have [`degit`](https://github.com/Rich-Harris/degit), run the following from a new directory:
3737

3838
```bash
39-
degit fastify/fastify-dx/starters/react
39+
degit fastify/fastify-dx/starters/vue
4040
```
4141

4242
> **If you're starting a project from scratch**, you'll need these packages installed.
4343
>
4444
> ```bash
45-
> npm i fastify fastify-vite fastify-dx-react -P
46-
> npm i @vitejs/plugin-react -D
45+
> npm i fastify fastify-vite fastify-dx-vue -P
46+
> npm i @vitejs/plugin-vue -D
4747
> ```
4848
4949
@@ -59,7 +59,7 @@ That will get you a **starter template** with:
5959
6060
- A minimal [Fastify](https://github.com/fastify/fastify) server.
6161
- Some dummy API routes.
62-
- A `pages/` folder with some [demo routes](https://github.com/fastify/fastify-dx/tree/dev/starters/react/client/pages).
62+
- A `pages/` folder with some [demo routes](https://github.com/fastify/fastify-dx/tree/dev/starters/vue/client/pages).
6363
- All configuration files.
6464
6565
It also includes some _**opinionated**_ essentials:
@@ -68,8 +68,7 @@ It also includes some _**opinionated**_ essentials:
6868
6969
- [**UnoCSS**](https://github.com/unocss/unocss) by [**Anthony Fu**](https://antfu.me/), which supports all [Tailwind utilities](https://uno.antfu.me/) and many other goodies through its [default preset](https://github.com/unocss/unocss/tree/main/packages/preset-uno).
7070
71-
- [**Valtio**](https://github.com/pmndrs/valtio) by [**Daishi Kato**](https://blog.axlight.com/), with a global and SSR-ready store which you can use anywhere.
72-
71+
- [**VueUse**](https://vueuse.org/) by [**Anthony Fu**](https://antfu.me/), which provides an extremely rich set of utilities — they're not included in the project build unless explicitly imported and used.
7372
7473
## Package Scripts
7574

packages/fastify-dx-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
"type": "module",
66
"main": "index.js",
77
"name": "fastify-dx-vue",
8-
"version": "0.0.1",
8+
"version": "0.0.1-pre",
99
"files": [
1010
"virtual/create.js",
1111
"virtual/root.vue",
12-
"virtual/layouts.js",
12+
"virtual/layout.vue",
1313
"virtual/layouts/default.vue",
1414
"virtual/context.js",
1515
"virtual/mount.js",

starters/vue/package.json

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,10 @@
1010
"lint": "eslint . --ext .js,.jsx --fix"
1111
},
1212
"dependencies": {
13+
"fastify-dx-vue": "0.0.1-pre",
1314
"fastify-vite": "^3.0.0-beta.23",
1415
"ky-universal": "^0.10.1",
15-
"@vueuse/core": "^8.7.4",
16-
"@vue/server-renderer": "^3.2.33",
17-
"devalue": "^2.0.1",
18-
"vue-router": "^4.0.15",
19-
"unihead": "^0.0.6"
16+
"@vueuse/core": "^8.7.4"
2017
},
2118
"devDependencies": {
2219
"@babel/eslint-parser": "^7.16.0",
@@ -32,7 +29,7 @@
3229
},
3330
"devInstall": {
3431
"local": {
35-
"fastify-dx-vue": "^0.0.3"
32+
"fastify-dx-vue": "0.0.1-pre"
3633
},
3734
"external": {
3835
"fastify-vite": "^3.0.0-beta.23",

0 commit comments

Comments
 (0)