From 228d91f6544bdead85cf73643e040a8d808624d6 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Sun, 24 Jul 2022 11:44:47 +0200 Subject: [PATCH] add shell command to find old components --- CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d022b07fd..ce59c4356 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -143,6 +143,7 @@ Misskey uses Vue(v3) as its front-end framework. - Use TypeScript. - When creating a new component, please use the Composition API (with [setup sugar](https://v3.vuejs.org/api/sfc-script-setup.html) and [ref sugar](https://github.com/vuejs/rfcs/discussions/369)) instead of the Options API. - Some of the existing components are implemented in the Options API, but it is an old implementation. Refactors that migrate those components to the Composition API are also welcome. + You might be able to use this shell command to find components that have not yet been refactored: `find packages/client/src -name '*.vue' | xargs grep '