Skip to content

Latest commit

 

History

History

README.md

Solid-Turborepo Starter

A modern Turborepo starter for building SolidJS applications with a complete development setup. This starter comes equipped with the pnpm package manager, Vinxi Bundler for optimized builds, Tailwind CSS v4 for styling and ESLint for code quality.


Table of Contents

Overview

This starter project leverages Turborepo to manage a monorepo structure that combines a SolidJS application with shared component libraries and configuration packages. It provides a robust setup for modern web development:

Getting Started

To bootstrap your new turborepo using this starter, simply run:

npx create-turbo@latest

What's inside?

This Turborepo includes the following packages/apps:

Apps and Packages

  • docs: a Solid Start app
  • web: a Solid Start app
  • @repo/ui: a stub Solid component library shared by both solid applications
  • @repo/eslint-config: eslint configurations
  • @repo/tailwind-config: Tailwind v4 configurations
  • vinxi: Vinxi Bundler** for efficient bundling.

Build & Develop

Build

To build all apps and packages, run the following command:

cd with-solid
pnpm run build

Develop

To develop all apps and packages, run the following command:

cd with-solid
pnpm run dev

Remote Caching

Tip

Vercel Remote Cache is free for all plans. Get started today at vercel.com.

Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.

By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:

cd with-solid
npx turbo login

This will authenticate the Turborepo CLI with your Vercel account.

Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your Turborepo:

npx turbo link

Useful Links

Learn more about the power of Turborepo:

License

This project is licensed under the MIT License.