Only Vue2 available now! Vue3 version is on the road.
@ohu-mobile/core
contains all the components.
npm install @ohu-mobile/core
# or
pnpm add @ohu-mobile/core
For more documentation and demos of this package, visit https://ohu.darkernel.com/.
If you want to use offical svg icons. You can install @ohu-mobile/icons
. It's a subset of Remix Icon.
npm install @ohu-mobile/icons
# or
pnpm add @ohu-mobile/icons
If you use sass, I recommand you use @ohu-mobile/styles
. It's a mixin library, it will save you a lot of time writing styles.
npm install @ohu-mobile/styles
# or
pnpm add @ohu-mobile/styles
-
Import on Demand
Strongly Recommand👇
import { Button } from '@ohu-mobile/core';
To achieve this effect, please use babel-plugin-import.
Or Manually import
import Button from '@ohu-mobile/core/lib/Button'; import Buttom from '@ohu-mobile/core/lib/Button/style';
-
Import all components
import Vue from 'vue'; import Ohu from '@ohu-mobile/core'; import '@ohu-mobile/core/dist/ohu-mobile.css'; Vue.use(Ohu);
-
Use CDN