vue
vue copied to clipboard
Cheatsheets for experienced Vue developers getting started with TypeScript
1. Use class-based components, not Vue's proprietary data shape that gets passed to Vue.extend. (at least for Vue 2) 2. For Vuex support (types on your action / mutation payloads),...
- https://twitter.com/youyuxi/status/1341177621502173191 - https://github.com/vuejs/rfcs/blob/sfc-improvements/active-rfcs/0000-sfc-script-setup.md#with-typescript
I've been thinking about how to best organise the docs. Currently there is clear divide between Vue 3 & Vue 2 I think it may be better to split the...
Perhaps something in the same vein as the React+TS logo? - https://github.com/typescript-cheatsheets/react. Please get in touch.