diff --git a/src/routes/v2/(0)index.mdx b/src/routes/v2/(0)index.mdx index 1cefd07c6..ca64a1905 100644 --- a/src/routes/v2/(0)index.mdx +++ b/src/routes/v2/(0)index.mdx @@ -17,4 +17,14 @@ description: >- Learn about fine-grained reactivity and modern web development. --- -Solid v2 is currently in beta. Expect more docs to appear here soon! +:::note[Documentation is currently under construction] +Like Solid v2, this documentation is in beta. +You may encounter missing content or rough edges in the tooling surrounding Solid v2. +We are actively working to improve these aspects and expand the available content. +If you're seeking a more stable experience, please refer to the [Solid v1 documentation](/). +::: + +Solid is a framework for building user interfaces (UIs) on the web. +You can use it to create anything from small personal projects to complex full-stack applications (with Solid's full-stack framework, [SolidStart](/solid-start)), and everything in between. + +You can try Solid online in the [playground](https://playground.solidjs.com/) or [start a project](/v2/getting-started) right away! diff --git a/src/routes/v2/(1)getting-started.mdx b/src/routes/v2/(1)getting-started.mdx new file mode 100644 index 000000000..425766cf3 --- /dev/null +++ b/src/routes/v2/(1)getting-started.mdx @@ -0,0 +1,28 @@ +--- +title: Getting started +titleTemplate: ":title" +mainNavExclude: true +version: "2.0" +--- + +Use Solid CLI to create a new project: + +```package-create +solid +``` + +You will be prompted to answer a few questions about your project. +If you're unsure, stick with the default options. +By default, the setup uses SolidStart, which is Solid's full-stack framework. + +## Alternatives to SolidStart + +While we strongly recommend using Solid with SolidStart, you can also use Solid directly with [Vite](https://vite.dev/) by selecting the `SolidJS + Vite` option in the Solid CLI. + +:::note +Vite is commonly used for building [single-page applications (SPAs)](https://en.wikipedia.org/wiki/Single-page_application), which you can also build with [SolidStart](/solid-start). +::: + +## Getting help + +If you need assistance, don't hesitate to ask for help in the [Discord chatroom](https://discord.com/invite/solidjs)!