Repository navigation
docs: add a Manual setup page - #1707
Merged
Merged
Conversation
Covers the packages, vite.config.ts, tsconfig JSX settings, index.html and the render entry, Babel and native compiler use outside Vite, and the Solid 1 package changes. Quick start links to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0117BoWLqMnD77CVCXUp3bTh
|
|
✅ Deploy Preview for solid-docs-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Ryan · project thread
Description(required)
Quick start only covers
npm init solid@latest. No docs page explains how to install Solid by hand, which you need when adding it to an existing project, starting from an empty Vite project in StackBlitz, using another bundler, or migrating from 1.x. This was requested on Discord.The new page, Getting started → Manual setup (
src/routes/(1)getting-started/(2)manual-setup.mdx), covers:solid-jsand@solidjs/web, plusviteand@solidjs/vite-pluginas dev dependencies;vite.config.tswithsolid(), andtsconfig.jsonwith"jsx": "preserve"and"jsxImportSource": "@solidjs/web";index.htmland asrc/index.tsxthat callsrender, with a counterApp;@solidjs/babel-plugin(with ababel.config.js) and@solidjs/compiler'stransform();Quick start now links to the new page.
Verified: I built the exact files from the page in a new project, using npm
latest(solid-js 2.0.0, @solidjs/web 2.0.0, @solidjs/vite-plugin 3.0.0, vite 8.3).tscpassed andvite buildsucceeded. In Chromium, the button read "Clicked 2 times" after two clicks. The Babel config compiledApp.tsxto@solidjs/webtemplate output.lint:tone,check:lint, prettier and the docsvite buildall pass.Related issues & labels
Generated by Claude Code