@toolmain/shared
v1.3.3
Published
utility toolkit collections
Maintainers
Readme
@toolmain/shared
convient and utility toolkit collections base on vue or element-plus.
Install
pnpm add @toolmain/sharedš Usage
import { px, localImg, msg } from "@toolmain/shared"or if you want to overview all tools, just use like following:
import * as tool from "@toolmain/shared"
const pixel = tool.px(10)if you want auto completion, you can update your tsconfig.json or jsconfig.json:
"compilerOptions": {
"types": ["@toolmain/shared"],
},š Overview
clone the core monorepo
git clone https://github.com/evilArsh/toolmain.gitinstall dependencies
pnpm istart playground overview project
pnpm run devto test all hooks,functions and other components, just enter playground/ diectory and use !
directory structure
root/
āāā element/
ā āāā element-plus toolkit collections
āāā hooks/
ā āāā vue hooks collections
āāā misc/
ā āāā miscellaneous convient functions collections
āāā type/
ā āāā common types definitions
āāā README.md
āāā package.jsonš Contributing
Pull requests are welcome