From 86c82278775bfe9cbba7d8fb1dcef7b92b247863 Mon Sep 17 00:00:00 2001 From: Miguel Romero Karam Date: Tue, 8 Aug 2023 18:49:03 +0200 Subject: [PATCH] docs(plugins): remove redundant text for unocss --- docs/latest/examples/using-unocss.md | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/docs/latest/examples/using-unocss.md b/docs/latest/examples/using-unocss.md index 6043899e085..f2eba4866ba 100644 --- a/docs/latest/examples/using-unocss.md +++ b/docs/latest/examples/using-unocss.md @@ -3,28 +3,8 @@ description: | One can use UnoCSS, an instant on-demand atomic CSS engine --- -When you initialize a project with `deno run -A -r https://fresh.deno.dev`, -you'll end up with a `main.ts` like the following: - -```ts -/// -/// -/// -/// -/// - -import { start } from "$fresh/server.ts"; -import manifest from "./fresh.gen.ts"; - -import unocssPlugin from "$fresh/plugins/unocss.ts"; -import unocssConfig from "./uno.config.ts"; - -await start(manifest, { plugins: [unocssPlugin(unocssConfig)] }); -``` - The template generates a Twind v0 project by default. If you want to use UnoCSS -you can follow this guide. First of all, change the import path to use the -`unocss` plugin: +you can update the `main.ts` as follows: ```ts ///