Skip to content

Commit

Permalink
update item
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Sep 3, 2023
1 parent 47d0b8f commit ae35711
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/pages/item.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ import router from "@/router/item";
import store from "@/store/item";
import App from "@/views/item/index.vue";

import reporter from "@jx3box/jx3box-common/js/reporter";
reporter.install(Vue);

new Vue({
router,
store,
Expand Down
3 changes: 2 additions & 1 deletion src/views/item/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import ItemBreadcrumb from "@/components/item/ItemBreadcrumb.vue";
import Sidebar from "@/components/item/Sidebar.vue";
import Extend from "@/components/item/Extend.vue";
export default {
name: "ItemIndex"
name: "ItemIndex",
components: { DefaultLayout, ItemBreadcrumb, Sidebar, Extend },
}
</script>
2 changes: 1 addition & 1 deletion src/views/knowledge/Knowledge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</template>

<script>
import DefaultLayout from "@/layout/DefaultLayout";
import DefaultLayout from "@/layout/DefaultLayout.vue";
import Nav from "@/components/knowledge/nav";
export default {
name: "App",
Expand Down
2 changes: 1 addition & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = {
entry: "src/pages/knowledge.js",
filename: "knowledge/index.html",
},
knowledge: {
item: {
title: "物品百科 - JX3BOX",
template: "public/index.html",
entry: "src/pages/item.js",
Expand Down

0 comments on commit ae35711

Please sign in to comment.