-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
49 lines (42 loc) · 1.22 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import Header from "./src/Header.vue";
import Footer from "./src/Footer.vue";
import Main from "./src/Main.vue";
import Breadcrumb from "./src/Breadcrumb.vue";
import LeftSidebar from "./src/LeftSidebar.vue";
import RightSidebar from "./src/RightSidebar.vue";
import LeftSideToggle from "./src/LeftSideToggle.vue";
import markBy from "./src/filters/markBy.vue";
import tagBy from "./src/filters/tagBy.vue";
import orderBy from "./src/filters/orderBy.vue";
import menuBy from "./src/filters/menuBy.vue";
import clientBy from "./src/filters/clientBy.vue";
import zlpBy from "./src/filters/zlpBy.vue";
import topicBy from "./src/filters/topicBy.vue";
import Item from "./src/editor/components/Item.vue";
import ItemSimple from "./src/editor/components/ItemSimple.vue";
import GameText from "./src/editor/components/GameText.vue";
const components = {
Header,
Footer,
Main,
Breadcrumb,
LeftSidebar,
RightSidebar,
LeftSideToggle,
tagBy,
orderBy,
markBy,
menuBy,
clientBy,
zlpBy,
topicBy,
Item,
ItemSimple,
GameText,
};
const install = function (app) {
Object.keys(components).forEach((key) => {
app.component(key, components[key]);
});
};
export { install };