diff --git a/apps/docs/src/server/content/_preview.md b/apps/docs/src/server/content/_preview.md index 581fa4e..662acd1 100644 --- a/apps/docs/src/server/content/_preview.md +++ b/apps/docs/src/server/content/_preview.md @@ -3,7 +3,7 @@ import { html } from "client:page"; export const handler = async (req: Request) => { return new Response( - html, // Your Vite app. + html, // Bundled client application. { headers: { "Content-Type": "text/html" }, }, @@ -25,9 +25,9 @@ Server-side JavaScript runtimes are standardizing on the Web [`Request`](https:/ One of the main goals of domco is to be able to create full-stack JavaScript applications using vanilla JavaScript. Without domco, it's challenging to achieve the same developer experience as other frameworks that are based around a UI library. By default, domco only bundles only the code you write, making it efficient and straightforward. -If you need a front-end framework, you can use any Vite plugin as you would in a traditional Vite application. +If you need a UI framework, you can use any Vite plugin as you would in a traditional Vite application. -On the server, domco is compatible with any server-side JavaScript framework that provides a web request handler taking a `Request` argument and returning a `Response`. Check out the [examples](/examples) to see how to use popular server frameworks with domco. +domco is compatible with any server-side JavaScript framework that provides a web request handler taking a `Request` argument and returning a `Response`. Check out the [examples](/examples) to see how to use popular server frameworks with domco. ### Minimal Dependencies diff --git a/apps/docs/src/server/content/tutorial.md b/apps/docs/src/server/content/tutorial.md index 00e63c0..67392eb 100644 --- a/apps/docs/src/server/content/tutorial.md +++ b/apps/docs/src/server/content/tutorial.md @@ -1,6 +1,6 @@ # Tutorial -The following documentation covers the basics of creating a site and all of the features domco provides in addition to Vite and Hono. See the [Vite](https://vitejs.dev/) or [Hono](https://hono.dev) documentation for more information and configuration options. +The following documentation covers the basics of creating a site and all of the features domco provides in addition to Vite. See the [Vite](https://vitejs.dev/) documentation for more information and configuration options. ## Create a new project