开始制作招聘页面
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 App from './App.vue'
|
||||
import router from './router.js'
|
||||
import axios from 'axios'
|
||||
|
||||
// 引入Bootstrap CSS
|
||||
import 'bootstrap/dist/css/bootstrap.min.css'
|
||||
// 引入Bootstrap JS(bundle版本)
|
||||
import 'bootstrap/dist/js/bootstrap.bundle.min.js'
|
||||
|
||||
createApp(App).use(router).mount('#app')
|
||||
// new Vue({
|
||||
// el: '#app',
|
||||
// router,
|
||||
// components: { App },
|
||||
// template: '<App/>'
|
||||
// })
|
||||
|
||||
// const app = createApp(App)
|
||||
// app.use(router)
|
||||
// app.mount('#app')
|
||||
const app = createApp(App)
|
||||
axios.defaults.baseURL = 'http://cms.yangprivate.site'
|
||||
// 全局挂载 axios,所有组件都可以 this.$axios 访问
|
||||
app.config.globalProperties.$axios = axios
|
||||
app.use(router).mount('#app')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user