{"id":13531350,"url":"https://github.com/solidjs/templates","last_synced_at":"2025-04-04T10:07:12.734Z","repository":{"id":37018425,"uuid":"279057081","full_name":"solidjs/templates","owner":"solidjs","description":"Vite + solid templates","archived":false,"fork":false,"pushed_at":"2024-03-26T06:26:52.000Z","size":1766,"stargazers_count":442,"open_issues_count":41,"forks_count":118,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T18:55:07.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/solidjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-07-12T12:11:38.000Z","updated_at":"2024-10-19T15:53:48.000Z","dependencies_parsed_at":"2024-01-13T19:18:15.151Z","dependency_job_id":"e6445bdd-d95b-451a-9ae6-13571abbf8ee","html_url":"https://github.com/solidjs/templates","commit_stats":{"total_commits":152,"total_committers":44,"mean_commits":"3.4545454545454546","dds":"0.48684210526315785","last_synced_commit":"924ee8359dc908c3ca3bd622c0c32dd2d666c78e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidjs%2Ftemplates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidjs%2Ftemplates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidjs%2Ftemplates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidjs%2Ftemplates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidjs","download_url":"https://codeload.github.com/solidjs/templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246981536,"owners_count":20863913,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:01:02.262Z","updated_at":"2025-04-04T10:07:12.706Z","avatar_url":"https://github.com/solidjs.png","language":"TypeScript","readme":"\u003cp\u003e\n  \u003cimg width=\"100%\" src=\"https://raw.githubusercontent.com/solidjs/templates/master/banner.png\" alt=\"Solid Vite Templates\"\u003e\n\u003c/p\u003e\n\n# Solid Templates (using [vite](https://vitejs.dev/))\n\nThis repository holds most of the official starter templates for [vite](https://vitejs.dev/).\n\nYou get:\n\n- HMR out of the box\n- Minimal bundle size\n- All the vite features\n\n### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)\n\n## Get started\n\nThose templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`.\n\nThis is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template.\n\nThese templates are meant to be used as is via the [degit](https://github.com/Rich-Harris/degit) utility.\n\n```bash\n# Javascript template\n$ npx degit solidjs/templates/js my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript template\n$ npx degit solidjs/templates/ts my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript minimal template\n$ npx degit solidjs/templates/ts-minimal my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript unocss template\n$ npx degit solidjs/templates/ts-unocss my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript tailwindcss template + solid-router with config-based routing\n$ npx degit solidjs/templates/ts-router my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript tailwindcss template + solid-router with file-based routing\n$ npx degit solidjs/templates/ts-router-file-based my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript bootstrap (5) template\n$ npx degit solidjs/templates/ts-bootstrap my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript + tailwindcss template\n$ npx degit solidjs/templates/ts-tailwindcss my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript + sass template\n$ npx degit solidjs/templates/ts-sass my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Javascript + vitest template\n$ npx degit solidjs/templates/js-vitest my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript + vitest template\n$ npx degit solidjs/templates/ts-vitest my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript + vitest browser mode template\n$ npx degit solidjs/templates/ts-vitest-browser-mode my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# Typescript + uvu template\n$ npx degit solidjs/templates/ts-uvu my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# TanStack Router\n$ npx degit solidjs/templates/tanstack-router-config-based my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# TanStack Router File Based\n$ npx degit solidjs/templates/tanstack-router-file-based my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n```bash\n# TanStack Start\n$ npx degit solidjs/templates/tanstack-start my-solid-project\n$ cd my-solid-project\n$ npm install # or pnpm install or yarn install\n```\n\n## I don't see a template that matches my need?\n\nYou wish there was a template with your favorite library?\n\nFeel free to make a pull request. Copy one of the template already available, tweak it, name it properly and make a PR. See [contributing](#contributing) below.\n\n## Contributing\n\nThis project is managed with [pnpm](https://pnpm.io). You should [install it](https://pnpm.io/installation) first to test out your template or contribute to an existing one.\n\nYou can create your own template and prefix it with `ts-` or `js-` and giving it a name that describe the purpose.\n\nTo update all dependencies you can run:\n\n`pnpm up -Lri`\n\n## Troubleshooting\n\nIt appears that Webstorm generate some weird triggers when saving a file. In order to prevent that you can follow [this thread](https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000154544-I-m-having-a-huge-problem-with-Webstorm-and-react-hot-loader-) and disable the **\"Safe Write\"** option in **\"Settings | Appearance \u0026 Behavior | System Settings\"**.\n","funding_links":[],"categories":["TypeScript","others","Resources"],"sub_categories":["🏃 Examples and Starter Kits"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidjs%2Ftemplates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidjs%2Ftemplates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidjs%2Ftemplates/lists"}