{"id":16439222,"url":"https://github.com/posva/pinia-ssr-example-cw","last_synced_at":"2026-06-11T04:31:33.386Z","repository":{"id":142829736,"uuid":"343809425","full_name":"posva/pinia-ssr-example-cw","owner":"posva","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-02T14:51:52.000Z","size":41,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T22:30:53.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/posva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"publiccode":null,"codemeta":null},"funding":{"github":"posva"}},"created_at":"2021-03-02T14:51:50.000Z","updated_at":"2023-03-15T06:56:08.000Z","dependencies_parsed_at":"2023-03-27T22:35:54.958Z","dependency_job_id":null,"html_url":"https://github.com/posva/pinia-ssr-example-cw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"frandiox/vitessedge-template","purl":"pkg:github/posva/pinia-ssr-example-cw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fpinia-ssr-example-cw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fpinia-ssr-example-cw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fpinia-ssr-example-cw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fpinia-ssr-example-cw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/posva","download_url":"https://codeload.github.com/posva/pinia-ssr-example-cw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/posva%2Fpinia-ssr-example-cw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285369043,"owners_count":27159982,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-11T09:08:33.330Z","updated_at":"2025-11-20T04:03:26.275Z","avatar_url":"https://github.com/posva.png","language":"TypeScript","funding_links":["https://github.com/sponsors/posva"],"categories":[],"sub_categories":[],"readme":"# Vitessedge\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"./logo.png\" alt=\"Vitessedge\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nDeploy your fullstack SSR apps to Cloudflare Workers using \u003ca href=\"https://github.com/frandiox/vitedge\"\u003eVitedge\u003c/a\u003e.\n\u003c/p\u003e\n\n\u003cp align='center'\u003e\n\u003ca href=\"https://vitessedge.zable.workers.dev/\"\u003eLive Demo\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Vue + Vite + SSR template based on [@antfu](https://github.com/antfu)'s [Vitesse](https://github.com/antfu/vitesse)\n\n## Features\n\n- ⚡️ [Vue 3](https://github.com/vuejs/vue-next), [Vite 2](https://github.com/vitejs/vite), [ESBuild](https://github.com/evanw/esbuild) - born with fastness\n\n- ⚔️ Edge-side rendering in Cloudflare Workers via [Vitedge](https://github.com/frandiox/vitedge), with edge cache and HTTP/2 server push\n\n- 🗂 [File based routing](./src/pages)\n\n- 📦 [Components auto importing](./src/components)\n\n- 📑 [Layout system](./src/layouts)\n\n- 📲 [PWA](https://github.com/antfu/vite-plugin-pwa)\n\n- 🎨 [Windi CSS](https://github.com/windicss/windicss) - on-demand Tailwind CSS with speed\n\n- 😃 [Use icons from any icon sets, with no compromise](./src/components)\n\n- 🌍 [I18n ready](./locales) with different routes for each language.\n\n- 🗒 [Markdown Support](https://github.com/antfu/vite-plugin-md)\n\n- 🔥 Use the [new `\u003cscript setup\u003e` style](https://github.com/vuejs/rfcs/pull/227)\n\n- 🦾 TypeScript, of course\n\n- ☁️ Deploy on Cloudflare Workers, minimal [setup](./worker-site/index.js)\n\n\u003cbr\u003e\n\n## Pre-packed\n\n### UI Frameworks\n\n- [Windi CSS](https://github.com/windicss/windicss) (On-demand [TailwindCSS](https://tailwindcss.com/)) - lighter and faster, with a bundle additional features!\n  - [Windi CSS Typography](https://windicss.netlify.app/guide/plugins.html#typography) - similar to [Tailwind CSS Typography](https://github.com/tailwindlabs/tailwindcss-typograph) but for Windi CSS\n\n### Icons\n\n- [Iconify](https://iconify.design) - use icons from any icon sets [🔍Icônes](https://icones.netlify.app/)\n- [`vite-plugin-icons`](https://github.com/antfu/vite-plugin-icons) - icons as Vue components\n\n### Plugins\n\n- [Vue Router](https://github.com/vuejs/vue-router)\n  - [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) - file system based routing\n  - [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - layouts for pages\n- [`vite-plugin-components`](https://github.com/antfu/vite-plugin-components) - components auto import\n- [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA\n- [`vite-plugin-windicss`](https://github.com/antfu/vite-plugin-windicss) - WindiCSS support\n- [`vite-plugin-md`](https://github.com/antfu/vite-plugin-md) - Markdown as components / components in Markdown\n  - [`markdown-it-prism`](https://github.com/jGleitz/markdown-it-prism) - [Prism](https://prismjs.com/) for syntax highlighting\n  - [`prism-theme-vars`](https://github.com/antfu/prism-theme-vars) - customizable Prism.js theme using CSS variables\n- [Vue I18n](https://github.com/intlify/vue-i18n-next) - Internationalization\n  - [`vite-plugin-vue-i18n`](https://github.com/intlify/vite-plugin-vue-i18n) - Vite plugin for Vue I18n\n- [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs\n- [`@vueuse/head`](https://github.com/vueuse/head) - manipulate document head reactively\n\n### Coding Style\n\n- Use Composition API with [`\u003cscript setup\u003e` SFC](https://github.com/vuejs/rfcs/pull/227)\n- [ESLint](https://eslint.org/) with [@antfu/eslint-config-vue](https://github.com/antfu/eslint-config), single quotes, no semi.\n\n### Dev tools\n\n- [TypeScript](https://www.typescriptlang.org/)\n- [Vitedge](https://github.com/frandiox/vitedge) - Edge-side rendering\n- [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update) - deploy to Cloudflare Workers\n- [VS Code Extensions](./.vscode/extensions.json)\n  - [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)\n  - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify)\n  - [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)\n  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\n## Variations\n\nAs this template is strongly opinionated, the following provides a curated list for community maintained variations with different preferences and feature sets. Check them out as well. PR to add yours are also welcome!\n\n- [vitesse-lite](https://github.com/kn0wn/vitesse-lite) by [@kn0wn](https://github.com/kn0wn)\n- [vitesse-addons](https://github.com/JohnCampionJr/vitesse-addons) by [johncampionjr](https://github.com/johncampionjr) - additional options for integrations, including [Prettier](https://prettier.io) and [Storybook](https://storybook.js.org)\n\n## Try it now!\n\n### GitHub Template\n\n[Create a repo from this template on GitHub](https://github.com/frandiox/vitessedge-template/generate).\n\n### Clone to local\n\nIf you prefer to do it manually with the cleaner git history\n\n```bash\nnpx degit frandiox/vitessedge-template my-vitesse-app\ncd my-vitesse-app\nnpm i\n```\n\n## Checklist\n\nWhen you use this template, try follow the checklist to update your info properly\n\n- [ ] Rename `name` field in `package.json`\n- [ ] Change the author name in `LICENSE`\n- [ ] Change the title in `index.html`\n- [ ] Change the favicon in `public`\n- [ ] Remove the `.github` folder which contains the funding info\n- [ ] Clean up the READMEs and remove routes\n\nAnd, enjoy :)\n\n## Usage\n\n### Development\n\nJust run and visit http://localhost:3333\n\n```bash\nnpm run dev # SSR development\nnpm run dev:spa # SPA without SSR\n```\n\n### Build\n\nTo build the App, run\n\n```bash\nnpm run build\n```\n\nAnd you will see the generated files in `dist`, and some of these files will be moved to `serverless` for deployment.\n\n### Deploy on Cloudflare Workers\n\n1. Create your [Cloudflare](https://www.cloudflare.com/) account.\n2. Install [Wrangler](https://developers.cloudflare.com/workers/cli-wrangler/install-update) CLI.\n3. Modify the `account_id` in [wrangler.toml](./worker-site/wrangler.toml). Then:\n\n```bash\nnpm run preview # Simulate Worker environment locally\nnpm run deploy\n```\n\n## Why\n\nI have created several Vite apps recently. Setting the configs up is kinda the bottleneck for me to make the ideas simply come true within a very short time.\n\nSo I made this starter template for myself to create apps more easily, along with some good practices that I have learned from making those apps. It's strongly opinionated, but feel free to tweak it or even maintains your own forks. [(see community maintained variation forks)](#variations)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposva%2Fpinia-ssr-example-cw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fposva%2Fpinia-ssr-example-cw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fposva%2Fpinia-ssr-example-cw/lists"}