新增用户主页和个人主页的HTML、CSS和JS文件 添加相关图片资源 重构sectionIndex页面为section-index.html 更新sectionIndex.js以支持组件导入
13 lines
394 B
JavaScript
13 lines
394 B
JavaScript
const { createApp, ref, onMounted, nextTick, onUnmounted, computed, watch } = Vue;
|
|
import { MyComponent } from "../component/item-forum/item-forum.js";
|
|
|
|
const appSectionIndex = createApp({
|
|
setup() {
|
|
let signInAlreadyState = ref(false);
|
|
|
|
return { signInAlreadyState };
|
|
},
|
|
});
|
|
appSectionIndex.component("MyComponent", MyComponent);
|
|
appSectionIndex.mount("#sectionIndex");
|