Skip to content

Commit d3318b2

Browse files
nksarafnsarafpure
andauthored
create-solid uses examples repo to give a list of templates to clone from (#76)
* start fixing templates and making it possible to disable ssr * setup various examples * fix create-solid to use examples * add client templates * hackernews add -ts for typescript * remove logging * remove cloudflare stuff * remove trash * add docs * remove client adpater Co-authored-by: Nikhil Saraf <nsaraf@purestorage.com>
1 parent ea8123e commit d3318b2

File tree

110 files changed

+1009
-472
lines changed

Some content is hidden

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

110 files changed

+1009
-472
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "",
1212
"license": "ISC",
1313
"devDependencies": {
14-
"@mdx-js/rollup": "^2.0.0-rc.1",
14+
"@mdx-js/rollup": "^2.0.0",
1515
"rehype-highlight": "^5.0.2",
1616
"remark-code-extra": "^1.0.1",
1717
"remark-gfm": "^3.0.1",

docs/src/root.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @refresh reload
2-
import { Links, Meta, Outlet, Scripts } from "solid-start/components";
2+
import { Links, Meta, Routes, Scripts } from "solid-start/components";
33

44
import "./code.css";
55
import "virtual:windi.css";
@@ -23,9 +23,8 @@ export default function Root() {
2323
...md
2424
}}
2525
>
26-
2726
<header class="p-4 bg-orange-500 text-white">
28-
<h1 class="text-5xl text-center mb-4">WIP</h1>
27+
<h1 class="text-5xl text-center mb-4">WIP</h1>
2928
<p class="max-w-prose mx-auto">
3029
These docs are a major work in progress. They are incomplete and have inaccurate
3130
information. That is why we need you! Feel free to ask questions in the discord chat
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "example-basic-ts",
2+
"name": "example-app-ts",
33
"scripts": {
44
"dev": "solid-start dev",
55
"build": "solid-start build",
File renamed without changes.
File renamed without changes.

packages/create-solid/templates/app-ts/src/root.tsx renamed to examples/app-ts/src/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @refresh reload
2-
import { Links, Meta, Outlet, Scripts } from "solid-start/components";
2+
import { Links, Meta, Routes, Scripts } from "solid-start/components";
33

44
export default function Root() {
55
return (
@@ -11,7 +11,7 @@ export default function Root() {
1111
<Links />
1212
</head>
1313
<body>
14-
<Outlet />
14+
<Routes />
1515
<Scripts />
1616
</body>
1717
</html>

0 commit comments

Comments
 (0)