0.0.5 • Published 1 year ago
@mwjz/asker v0.0.5
�� Asker
N*N{|<O Pinia O(ub�v ServiceB\ ����
Installation
npm install @mwjz/asker
Usage
�[�OS
import { PiniaStorage } from '@mwjz/asker'
// Pass the plugin to your application's pinia plugin
createAsker({});
O(u
export const useService = defineService({
hello(): Promise<string> {
return this.$asker.get('xxx/xxx');
}
});
const service = useService();
service.hello();