新年的第一次提交
This commit is contained in:
8
src/provider/index.ts
Normal file
8
src/provider/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { App } from "vue";
|
||||
import Component from "./index.vue";
|
||||
|
||||
Component.install = (app: App) => {
|
||||
app.component(Component.name, Component);
|
||||
};
|
||||
|
||||
export default Component;
|
||||
19
src/provider/index.vue
Normal file
19
src/provider/index.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "lay-config-provider"
|
||||
}
|
||||
</script>
|
||||
|
||||
<script setup lang="ts">
|
||||
|
||||
// 切换主题
|
||||
|
||||
// 切换语言
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="lay-config-provider">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user