init
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
export type PanelShadow = "always" | "hover" | "never";
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
.layui-fullscreen {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
overflow: auto;
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
import Layout from "./App.vue";
|
||||
import { App, createApp as _createApp } from "vue";
|
||||
import { createRouter } from "./router/index";
|
||||
import { Router } from "vue-router";
|
||||
import LayCode from "./components/LayCode.vue";
|
||||
import Children1 from "./components/Children1.vue";
|
||||
import Children2 from "./components/Children2.vue";
|
||||
import layui from "../../component/src/index";
|
||||
import layer from "../../layer/src/index";
|
||||
import "./assets/css/index.css";
|
||||
|
||||
export function createApp(): {
|
||||
app: App<Element>;
|
||||
router: Router;
|
||||
} {
|
||||
const app = _createApp(Layout);
|
||||
const router = createRouter();
|
||||
|
||||
app
|
||||
.use(layui)
|
||||
.use(layer)
|
||||
.use(router)
|
||||
.component("LayCode", LayCode)
|
||||
.component("Children1", Children1)
|
||||
.component("Children2", Children2);
|
||||
|
||||
return { app, router };
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
<script lang="ts">
|
||||
export default {
|
||||
name: "ReleaseIcon",
|
||||
};
|
||||
</script>
|
||||
<script setup lang="ts">
|
||||
import LayIcon from "../component/icon/index";
|
||||
|
||||
const props = defineProps<{
|
||||
color?: string;
|
||||
size?: string;
|
||||
}>();
|
||||
</script>
|
||||
<template>
|
||||
<lay-icon :color="props.color" :size="props.size" type="layui-icon-release" />
|
||||
</template>
|
||||
Binary file not shown.
Reference in New Issue
Block a user