{"id":22490170,"url":"https://github.com/srcdev/nuxt3-pinia-i18n-storybook","last_synced_at":"2026-01-25T00:12:44.766Z","repository":{"id":65972456,"uuid":"600107473","full_name":"srcdev/nuxt3-pinia-i18n-storybook","owner":"srcdev","description":"Starter kit for Nuxt3, Pinia, i18n, Vitest and Storybook.","archived":false,"fork":false,"pushed_at":"2024-08-09T11:01:19.000Z","size":33502,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-02T22:38:00.992Z","etag":null,"topics":["nuxt3","pinia-vuejs","storybook","vitest","vue-i18n"],"latest_commit_sha":null,"homepage":"https://nuxt3-pinia-i18n-storybook.vercel.app","language":"Vue","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/srcdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-10T15:48:15.000Z","updated_at":"2025-04-05T02:51:40.000Z","dependencies_parsed_at":"2024-04-11T22:54:32.524Z","dependency_job_id":null,"html_url":"https://github.com/srcdev/nuxt3-pinia-i18n-storybook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/srcdev/nuxt3-pinia-i18n-storybook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt3-pinia-i18n-storybook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt3-pinia-i18n-storybook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt3-pinia-i18n-storybook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt3-pinia-i18n-storybook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srcdev","download_url":"https://codeload.github.com/srcdev/nuxt3-pinia-i18n-storybook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcdev%2Fnuxt3-pinia-i18n-storybook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["nuxt3","pinia-vuejs","storybook","vitest","vue-i18n"],"created_at":"2024-12-06T17:21:53.730Z","updated_at":"2026-01-25T00:12:44.750Z","avatar_url":"https://github.com/srcdev.png","language":"Vue","funding_links":[],"categories":["Vue"],"sub_categories":[],"readme":"# Starter kit for Nuxt3, Pinia, i18n, and Storybook\n\nLook at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.\n\n## VS Code configuration\n\nSettings and extensions will be automatically suggested.\n\nNeed to take over inbuilt TS checking to use Volar for Vue.\n\n### Recommanded steps to have Vue Language Features (Volar) installed with typescript support\n\nRef: \u003chttps://github.com/johnsoncodehk/volar/discussions/471?sort=new\u003e\n\n- In extension search box, search: @builtin typescript\n- disable \"TypeScript and JavaScript Language Features\" only inside active vue 3 workspaces\n- In extension search box, search: Vue Language Features (volar) and install\n- Reload VS Code, takeover mode should\n\n## Still in progress\n\n- ~Install i18n~ Done\n- ~Storybook i18n integration~ Done\n- ~Install Pinia~ Done\n- ~Storybook i18n Pinia~ Done\n\n## Setup\n\nMake sure to install the dependancies:\n\n### Install Errors\n\nIf `npm install` exits with errors for peer dependancies in Vue packages:\n\n- Remove storybook package entries from `package.json`\n- Run the following package installs manually.\n\n```bash\nnpm install --save-dev @storybook/addon-a11y @storybook/addon-actions @storybook/addon-essentials @storybook/addon-interactions @storybook/addon-links @storybook/testing-library @storybook/vue3 @storybook/vue3-vite react react-dom storybook storybook-i18n\n```\n\n## Setup cert for localhost (OSx)\n\nOther OS's see [mkcert git repo](https://github.com/FiloSottile/mkcert)\n\n```node\nbrew install mkcert\n```\n\nthen\n\n```node\nmkcert localhost\n```\n\n- locate 2 news files created by `mkcert` (localhost.pem and localhost-key.pem)\n- create new folder in root of website `/certs/`\n- Copy these 2 files into new dir\n\nthen update the `dev` script in package.json\n\n```node\n\"dev\": \"NODE_TLS_REJECT_UNAUTHORIZED=0 nuxt dev --https --ssl-cert ./certs/localhost.pem --ssl-key ./certs/localhost-key.pem --dotenv .env\",\n```\n\n#### Storybook errors with duplicate templates\n\nDelete one of the template folders located within `~/node_modules/@storybook/vue3/template/cli`\n\n```bash\n# yarn\nyarn install\n\n# npm\nnpm install\n\n# pnpm\npnpm install\n```\n\n## Development Server\n\nStart the development server on \u003chttp://localhost:3000\u003e\nIf using **nvm** set to use latest version of Node: `nvm use node`\n\n```bash\nnpm run dev\n```\n\n## Production\n\nBuild the application for production:\n\n```bash\nnpm run build\n```\n\nLocally preview production build:\n\n```bash\nnpm run preview\n```\n\n## Running Storybook\n\nDue to Storybook not fully supporting latest version on NPM, requires node v16.19.0 (npm v8.19.3)\nShoutout to [BudiSalah](https://github.com/BudiSalah) for their [suggestions](https://github.com/storybookjs/storybook/issues/20312#issuecomment-1417098012) on installing Storybook with Nuxt3/Vite\n\n```bash\nnvm use\nnpm run storybook\n```\n\nUpgrade Storybook to lates version\n\n```bash\nnpx storybook@latest upgrade\n```\n\n### Known Storybook issue (to be resolved)\n\n- Nuxt3 can import the stores directory so we don't have to import within each instance it's to be used. (`imports: { dirs: [\"stores\"]}`). Storybook as currently setup does not support this and each store has to be imported manually. This may not be a Storybook issue just I haven't figured out how to do this yet.\n\n## Other references\n\n- Handy matrix of common [viewports on YesViz device insights](https://yesviz.com/viewport)\n\n## Updates\n\n- updated: `\"storybook\": \"node fixStorybookPackageJson.js \u0026\u0026 storybook dev -p 6006\",` to `\"storybook\": \"storybook dev -p 6006\",` Latest version of Storybook (7.6.7) appears to have fixed previous start issue. Leaving `fixStorybookPackageJson.js` for time being until fix is definately stable.\n- Recent nuxt package upgrade - remove auto import methods - now internal\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcdev%2Fnuxt3-pinia-i18n-storybook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcdev%2Fnuxt3-pinia-i18n-storybook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcdev%2Fnuxt3-pinia-i18n-storybook/lists"}