{"id":21833287,"url":"https://github.com/bencodezen/typescript-and-vue-workshop","last_synced_at":"2025-03-21T13:46:25.809Z","repository":{"id":58258172,"uuid":"530678159","full_name":"bencodezen/typescript-and-vue-workshop","owner":"bencodezen","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-22T16:14:14.000Z","size":135,"stargazers_count":24,"open_issues_count":0,"forks_count":45,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-26T09:28:53.982Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/bencodezen.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,"publiccode":null,"codemeta":null}},"created_at":"2022-08-30T13:49:30.000Z","updated_at":"2024-10-24T01:38:12.000Z","dependencies_parsed_at":"2024-11-27T22:34:13.234Z","dependency_job_id":null,"html_url":"https://github.com/bencodezen/typescript-and-vue-workshop","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/bencodezen%2Ftypescript-and-vue-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Ftypescript-and-vue-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Ftypescript-and-vue-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Ftypescript-and-vue-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencodezen","download_url":"https://codeload.github.com/bencodezen/typescript-and-vue-workshop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244807582,"owners_count":20513667,"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-11-27T19:29:50.158Z","updated_at":"2025-03-21T13:46:25.783Z","avatar_url":"https://github.com/bencodezen.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript and Vue with Frontend Masters\n\nWatch the full course on the [Frontend Masters website](https://frontendmasters.com/courses/vue-typescript).\n\n## Prerequisites\n\n- [Git](https://git-scm.com/)\n- [Node LTS](https://nodejs.org/en/)\n- [Volar VS Code Extension](https://marketplace.visualstudio.com/items?itemName=Vue.volar)\n- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin)\n\n## Installation Instructions\n\n\u003e Note: Make sure to change directories into the `app` directory before running `npm install`.\n\n```bash\ngit clone https://github.com/bencodezen/typescript-and-vue-workshop.git\ncd typescript-and-vue-workshop/app\nnpm install\n```\n\nTo run the application, use:\n```bash\nnpm run dev\n```\n\n## Course Errata\n\n### Global State Management with Pinia\nDuring the Global State Management with Pinia lesson, the user interface is not reactive. If you delete a restaurant or dish, you need to change views in order to see the updated UI. Follow the steps below to create a reactive interface:\n\nIn `RestaurantPage.vue`, import `storeToRefs` from Pinia:\n\n```javscript\nimport { storeToRefs } from 'pinia'\n```\n\nUpdate the `restaurantList` array:\n\n```javascript\nconst restaurantList = storeToRefs(restaurantStore).list\n```\n\nIn the `filteredRestaurantList` computed property, update the `filter` method:\n```javascript\nreturn restaurantList.value.filter((restaurant) =\u003e { ... })\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Ftypescript-and-vue-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencodezen%2Ftypescript-and-vue-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Ftypescript-and-vue-workshop/lists"}