0.1.12 • Published 6 months ago

mione-outer-header v0.1.12

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

mione-fe-lib 前端插件

在 Vue 2中使用 mione-header , 需要安装 @vue/composition-api:

npm install  @vue/composition-api

在 Vue 2中使用 mione-header ,需执行

npx vue-demi-switch 2

main.js配置

...
import MioneHeader from 'mione-outer-header';
...
const app = createApp(App);
app.use(MioneHeader)

使用处

<template>
  <MioneHeader :menus="menus"></MioneHeader>
</template>

<script setup>
import { ref } from 'vue';
const menus = ref([{
  title: 'test00',
  icon: 'mione-components-icon mione-components-icon-mione',
  href: 'https://mone.test001',
}, {
  title: 'test001',
  icon: 'mione-components-icon mione-components-icon-A',
  href: 'https://test001',
}]);
</script>
0.1.12

6 months ago

0.1.11

6 months ago

0.1.10

6 months ago

0.1.1

6 months ago