@m1ny/core
v0.1.17
Published
> TODO: description
Readme
@m1ny/core
TODO: description
Install
pnpm add @m1ny/corePrepare
add in global.d.ts
/// <reference types="@m1ny/core/global" />
or add in tsconfig.json
{
"compilerOptions": {
"types": [
"@m1ny/core/global",
...
]
}
}Usage
# in main.ts
import M1nyCore from '@m1ny/core'
createApp(App)
.use(M1nyCore)
.mount('#app')
# in *.vue
<scripts setup>
import { useCommandComponent } from '@m1ny/core'
const openComponent = useCommandComponent()
</scripts>
<template>
<af-option-select
v-model="model"
:options="optiosn"
class="af-w-100"
/>
</template>