开始制作招聘页面
This commit is contained in:
parent
015cef2587
commit
9fcf3be971
16
src/components/Wanted.vue
Normal file
16
src/components/Wanted.vue
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<template>
|
||||||
|
<div id="jobpanel" class="pageroot" style="background-color: white">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Wanted"
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "src/publicstyle.scss";
|
||||||
|
|
||||||
|
</style>
|
||||||
17
src/main.js
17
src/main.js
@ -1,20 +1,15 @@
|
|||||||
import { createApp } from 'vue'
|
import { createApp } from 'vue'
|
||||||
import App from './App.vue'
|
import App from './App.vue'
|
||||||
import router from './router.js'
|
import router from './router.js'
|
||||||
|
import axios from 'axios'
|
||||||
|
|
||||||
// 引入Bootstrap CSS
|
// 引入Bootstrap CSS
|
||||||
import 'bootstrap/dist/css/bootstrap.min.css'
|
import 'bootstrap/dist/css/bootstrap.min.css'
|
||||||
// 引入Bootstrap JS(bundle版本)
|
// 引入Bootstrap JS(bundle版本)
|
||||||
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
|
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
|
||||||
|
|
||||||
createApp(App).use(router).mount('#app')
|
const app = createApp(App)
|
||||||
// new Vue({
|
axios.defaults.baseURL = 'http://cms.yangprivate.site'
|
||||||
// el: '#app',
|
// 全局挂载 axios,所有组件都可以 this.$axios 访问
|
||||||
// router,
|
app.config.globalProperties.$axios = axios
|
||||||
// components: { App },
|
app.use(router).mount('#app')
|
||||||
// template: '<App/>'
|
|
||||||
// })
|
|
||||||
|
|
||||||
// const app = createApp(App)
|
|
||||||
// app.use(router)
|
|
||||||
// app.mount('#app')
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user