From 3a1e10271ccc578d80b83453ba55c9edc94f4696 Mon Sep 17 00:00:00 2001 From: Mikkel ALMONTE--RINGAUD Date: Sun, 28 Jul 2024 00:18:24 +0200 Subject: [PATCH] chore(examples): add more indications and fix names --- examples/tailwindcss/tailwind.config.js | 11 +++++++++-- examples/unocss/package.json | 2 +- examples/unocss/stein.config.ts | 4 ++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/examples/tailwindcss/tailwind.config.js b/examples/tailwindcss/tailwind.config.js index e7f8d8a..02987c5 100644 --- a/examples/tailwindcss/tailwind.config.js +++ b/examples/tailwindcss/tailwind.config.js @@ -1,4 +1,11 @@ -/** @type {import('stein-plugin-tailwindcss').SteinTailwindConfig} */ +/// NOTE: this file is optional, it was created mostly to support +/// IDE autocompletion. You can still configure TailwindCSS +/// in "stein.config.ts". Configuration you write here will +/// be merged with the default configuration and the +/// configuration written in "stein.config.ts". + +/** @type {import('stein-plugin-tailwindcss').TailwindConfig} */ export default { - + // Filled automatically by the plugin. + content: [], } \ No newline at end of file diff --git a/examples/unocss/package.json b/examples/unocss/package.json index f0d0767..64526ef 100644 --- a/examples/unocss/package.json +++ b/examples/unocss/package.json @@ -1,5 +1,5 @@ { - "name": "unocss", + "name": "@examples/unocss", "private": true, "version": "1.0.0", "type": "module", diff --git a/examples/unocss/stein.config.ts b/examples/unocss/stein.config.ts index a0ca7d6..8119db1 100644 --- a/examples/unocss/stein.config.ts +++ b/examples/unocss/stein.config.ts @@ -4,9 +4,9 @@ import {defineConfig} from "@steinjs/core"; // See the documentation for more details. export default defineConfig({ plugins: [unocss({ - injectReset: true, + injectReset: true })], development: { - port: 1234 + port: 3000 } });