Skip to content

Commit f3a1d35

Browse files
hi-ogawaclaude
andauthored
docs(fullstack): typo (#1195)
Co-authored-by: Claude <[email protected]>
1 parent ddf8e92 commit f3a1d35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/fullstack/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The goal of the API is to cover following use cases in SSR application:
2626
// [server.js] server entry injecting client entry during SSR
2727
function renderHtml() {
2828
const assets = import.meta.vite.assets({
29-
entry: "./client.js",
29+
import: "./client.js",
3030
environment: "client",
3131
asEntry: true,
3232
});
@@ -40,7 +40,7 @@ function renderHtml() {
4040
```
4141

4242
- for universal route to access assets within its route
43-
- see [`examples/react-rotuer`](./examples/react-router) and [`examples/vue-router`](./examples/vue-router) for concrete integrations.
43+
- see [`examples/react-router`](./examples/react-router) and [`examples/vue-router`](./examples/vue-router) for concrete integrations.
4444

4545
```js
4646
// [routes.js] hypothetical router library's routes declaration
@@ -50,11 +50,11 @@ export const routes = [
5050
route: () => import("./pages/about.js"),
5151
routeAssets: mergeAssets(
5252
import.meta.vite.assets({
53-
entry: "./pages/about.js",
53+
import: "./pages/about.js",
5454
environment: "client",
5555
}),
5656
import.meta.vite.assets({
57-
entry: "./pages/about.js",
57+
import: "./pages/about.js",
5858
environment: "ssr",
5959
}),
6060
)

0 commit comments

Comments
 (0)