{"id":13496086,"url":"https://github.com/ionic-team/capacitor-solidjs-templates","last_synced_at":"2025-10-08T03:31:03.152Z","repository":{"id":43188781,"uuid":"462456832","full_name":"ionic-team/capacitor-solidjs-templates","owner":"ionic-team","description":"Build native iOS, Android, and Web apps with Capacitor, SolidJS, and Vite","archived":false,"fork":true,"pushed_at":"2022-03-16T20:11:31.000Z","size":7103,"stargazers_count":128,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-18T21:58:26.457Z","etag":null,"topics":["capacitor","solidjs","vite"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"solidjs/templates","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ionic-team.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-22T20:07:03.000Z","updated_at":"2024-12-25T20:49:22.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ionic-team/capacitor-solidjs-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor-solidjs-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor-solidjs-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor-solidjs-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionic-team%2Fcapacitor-solidjs-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionic-team","download_url":"https://codeload.github.com/ionic-team/capacitor-solidjs-templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235678929,"owners_count":19028301,"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":["capacitor","solidjs","vite"],"created_at":"2024-07-31T19:01:42.079Z","updated_at":"2025-10-08T03:31:01.974Z","avatar_url":"https://github.com/ionic-team.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"\u003cp\u003e\n  \u003cimg width=\"100%\" src=\"./banner.png\" alt=\"Solid And Capacitor Vite Templates\"\u003e\n\u003c/p\u003e\n\n# Capacitor Templates for [SolidJS](https://www.solidjs.com/) (and [vite](https://vitejs.dev/))\n\nThis repository holds production ready Capacitor templates for building native mobile applications using SolidJS + vite. Using Capacitor, you can quickly build out a native mobile application for iOS and Android using web technology, such as SolidJS.\n\n## Getting Started\n\nBe sure to follow our [getting started guide](https://capacitorjs.com/docs/getting-started/environment-setup) for Capacitor to setup your environment correctly. Once your environment is set up for mobile development, you can use [degit](https://github.com/Rich-Harris/degit) to clone one of these Capacitor templates and start building your native app with SolidJS!\n\nWhen developing, you can use vite just as you would for a standard web application. For these templates, you can run `npm start` to boot up the vite dev server with Hot Module Replacement (HMR). Once you are ready to test your app on mobile, you can use one of the following commands to build and run your native app on your mobile device.\n\n#### iOS\n\n```bash\nnpm run build\nnpx cap run ios\n```\n\n#### Android\n\n```bash\nnpm run build\nnpx cap run android\n```\n\n_note: The Capacitor + SolidJS dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`. This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. The `pnpn-lock.yaml` file can be safely be removed once you clone a template if you would like to use another package manager like `npm` or `yarn`._\n\n### Deploying to App Stores\n\nOnce you are ready to deploy your app, you can follow our guides building your native application for the [Apple App Store](https://capacitorjs.com/docs/ios/deploying-to-app-store) or the [Google Play Store](https://capacitorjs.com/docs/android/deploying-to-google-play).\n\n## Template List\n\n#### Javascript template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/js my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript minimal template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-minimal my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript unocss template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-unocss my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript windicss template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-windicss my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript windicss template + basic file base routing\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-router my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript bootstrap (5) template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-bootstrap my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript + tailwindcss template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-tailwindcss my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript + sass template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-sass my-project\ncd my-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript + vitest template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-vitest my-solid-project\ncd my-solid-project\nnpm install # or pnpm install or yarn install\n```\n\n#### Typescript + uvu template\n\n```bash\nnpx degit ionic-team/capacitor-solidjs-templates/ts-uvu my-solid-project\ncd my-solid-project\nnpm 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## Community\n\nYou learn more about Capacitor on the [Capacitor Website](https://capacitorjs.com) and come chat with us the [Ionic Discord](https://discord.gg/UPYYRhtyzp) if you have any questions. For Solid questions, you can learn more on the [Solid Website](https://solidjs.com) and join the [SolidJS Discord](https://discord.com/invite/solidjs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcapacitor-solidjs-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionic-team%2Fcapacitor-solidjs-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionic-team%2Fcapacitor-solidjs-templates/lists"}