Skip to content

Commit baf13f6

Browse files
ci: apply automated fixes
1 parent c406ffc commit baf13f6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/start/framework/solid/build-from-scratch.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22
ref: docs/start/framework/react/build-from-scratch.md
33
replace:
44
{
5-
"@tanstack/react-start": "@tanstack/solid-start",
6-
"react-router": "solid-router",
7-
"react react-dom": "solid-js",
8-
"Alternatively, you can also use `@vitejs/plugin-react-oxc` or `@vitejs/plugin-react-swc`.\n": "",
9-
"@vitejs/plugin-react": "vite-plugin-solid",
10-
"@types/react @types/react-dom ": "",
11-
"\"jsx\": \"react-jsx\"": "\"jsx\": \"preserve\",\n \"jsxImportSource\": \"solid-js\"",
12-
"import viteReact": "import viteSolid",
13-
"viteReact\\(\\)": "viteSolid({ssr:true})",
5+
'@tanstack/react-start': '@tanstack/solid-start',
6+
'react-router': 'solid-router',
7+
'react react-dom': 'solid-js',
8+
"Alternatively, you can also use `@vitejs/plugin-react-oxc` or `@vitejs/plugin-react-swc`.\n": '',
9+
'@vitejs/plugin-react': 'vite-plugin-solid',
10+
'@types/react @types/react-dom ': '',
11+
'"jsx": "react-jsx"': "\"jsx\": \"preserve\",\n \"jsxImportSource\": \"solid-js\"",
12+
'import viteReact': 'import viteSolid',
13+
"viteReact\\(\\)": 'viteSolid({ssr:true})',
1414
"type { ReactNode } from 'react'": "type * as Solid from 'solid-js'",
15-
"ReactNode": "Solid.JSX.Element",
16-
"{state}":"{state()}",
15+
'ReactNode': 'Solid.JSX.Element',
16+
'{state}': '{state()}',
1717
" <html>\n <head>\n <HeadContent />\n </head>\n <body>\n {children}\n <Scripts />\n </body>\n </html>": " <>\n <HeadContent />\n {children}\n <Scripts />\n </>",
1818
"react's": "solid's",
19-
"React": "SolidJS",
19+
'React': 'SolidJS',
2020
}
2121
---

0 commit comments

Comments
 (0)