https://github.com/codepaintstudio/vuedir/blob/main/core/src/index.ts
As shown in this file, every time we complete a directive, we have to manually import, export and register the directive in /core/src/index.ts, which is rather troublesome. Can it be automated through some engineering configuration or scripts?