Update CONTRIBUTING.md

This commit is contained in:
kakkokari-gtyih 2025-01-25 17:25:27 +09:00
parent 8cbdf27d8a
commit 68d2ef071e
1 changed files with 6 additions and 0 deletions

View File

@ -273,6 +273,12 @@ Misskey uses Vue(v3) as its front-end framework.
- **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.
## Tabler Icons
アイコンは、Production Build時に使用されていないものが削除されるようになっています。
**アイコンを動的に設定する際に、 `ti-${someVal}` のように、アイコン名のみを動的に変化させるような指定を行ってはいけません。**
必ず `ti-xxx` のような完全なクラス名を含めるようにしてください。
## nirax
niraxは、Misskeyで使用しているオリジナルのフロントエンドルーティングシステムです。
**vue-routerから影響を多大に受けているので、まずはvue-routerについて学ぶことをお勧めします。**