forked from FoundKeyGang/FoundKey
add shell command to find old components
This commit is contained in:
parent
f6b0deb666
commit
228d91f654
1 changed files with 1 additions and 0 deletions
|
@ -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 '<script' | grep -v 'setup'`
|
||||
|
||||
## Notes
|
||||
### How to resolve conflictions occurred at yarn.lock?
|
||||
|
|
Loading…
Reference in a new issue