From 59d41787fc2326a889b0f6464ba26b266ed4f5fb Mon Sep 17 00:00:00 2001 From: Stephan Kulla Date: Fri, 8 May 2026 15:18:36 +0200 Subject: [PATCH 1/6] feat: Add CSS from index.html Fixes https://github.com/kulla/rsbuild-react-starter-template/issues/101 --- src/App.tsx | 3 --- src/{App.css => index.css} | 2 ++ src/index.html | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) rename src/{App.css => index.css} (62%) diff --git a/src/App.tsx b/src/App.tsx index a553bc9..69ed73f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,3 @@ -import '@picocss/pico/css/pico.min.css' -import './App.css' - export default function App() { return (
diff --git a/src/App.css b/src/index.css similarity index 62% rename from src/App.css rename to src/index.css index 0e5efb1..80675c7 100644 --- a/src/App.css +++ b/src/index.css @@ -1,3 +1,5 @@ +@import '@picocss/pico/css/pico.min.css'; + .page { max-width: 48rem; margin: 0 auto; diff --git a/src/index.html b/src/index.html index f124e26..bf56f46 100644 --- a/src/index.html +++ b/src/index.html @@ -4,6 +4,7 @@ Prototype +
From ba275e7e47a9b19c1a8db499f40bf79a4365abb5 Mon Sep 17 00:00:00 2001 From: Stephan Kulla Date: Fri, 8 May 2026 15:19:18 +0200 Subject: [PATCH 2/6] refactor: Shorten index.html --- src/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index bf56f46..a92e2ed 100644 --- a/src/index.html +++ b/src/index.html @@ -7,7 +7,7 @@ -
- +
+