Skip to content

Commit e586d12

Browse files
committed
refactor: move examples into an src directory
1 parent e9e2198 commit e586d12

File tree

189 files changed

+159
-153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+159
-153
lines changed

examples/01-basic/01-minimal/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
22
import React from "react";
33
import { createRoot } from "react-dom/client";
4-
import App from "./App.jsx";
4+
import App from "./src/App.jsx";
55

66
const root = createRoot(document.getElementById("root")!);
77
root.render(

examples/01-basic/02-block-objects/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
22
import React from "react";
33
import { createRoot } from "react-dom/client";
4-
import App from "./App.jsx";
4+
import App from "./src/App.jsx";
55

66
const root = createRoot(document.getElementById("root")!);
77
root.render(

examples/01-basic/03-multi-column/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
22
import React from "react";
33
import { createRoot } from "react-dom/client";
4-
import App from "./App.jsx";
4+
import App from "./src/App.jsx";
55

66
const root = createRoot(document.getElementById("root")!);
77
root.render(

examples/01-basic/04-default-blocks/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
22
import React from "react";
33
import { createRoot } from "react-dom/client";
4-
import App from "./App.jsx";
4+
import App from "./src/App.jsx";
55

66
const root = createRoot(document.getElementById("root")!);
77
root.render(

examples/01-basic/05-removing-default-blocks/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// AUTO-GENERATED FILE, DO NOT EDIT DIRECTLY
22
import React from "react";
33
import { createRoot } from "react-dom/client";
4-
import App from "./App.jsx";
4+
import App from "./src/App.jsx";
55

66
const root = createRoot(document.getElementById("root")!);
77
root.render(

0 commit comments

Comments
 (0)