basics for profile page

This commit is contained in:
vabene1111
2022-07-12 20:57:13 +02:00
parent bf16e61a1f
commit c50efac00e
5 changed files with 103 additions and 2 deletions

View File

@@ -0,0 +1,45 @@
<template>
<div id="app" class="col-12 col-xl-8 col-lg-10 offset-xl-2 offset-lg-1 offset">
<div class="col-12 col-xl-8 col-lg-10 offset-xl-2 offset-lg-1">
</div>
</div>
</template>
<script>
import Vue from "vue"
import { BootstrapVue } from "bootstrap-vue"
import "bootstrap-vue/dist/bootstrap-vue.css"
import { ApiApiFactory } from "@/utils/openapi/api"
import CookbookSlider from "@/components/CookbookSlider"
import LoadingSpinner from "@/components/LoadingSpinner"
import { StandardToasts, ApiMixin } from "@/utils/utils"
Vue.use(BootstrapVue)
export default {
name: "ProfileView",
mixins: [ApiMixin],
components: { },
data() {
return {
}
},
computed: {
},
mounted() {
this.$i18n.locale = window.CUSTOM_LOCALE
},
methods: {
},
}
</script>
<style>
</style>

View File

@@ -0,0 +1,18 @@
import Vue from 'vue'
import App from './ProfileView.vue'
import i18n from '@/i18n'
Vue.config.productionTip = false
// TODO move this and other default stuff to centralized JS file (verify nothing breaks)
let publicPath = localStorage.STATIC_URL + 'vue/'
if (process.env.NODE_ENV === 'development') {
publicPath = 'http://localhost:8080/'
}
export default __webpack_public_path__ = publicPath // eslint-disable-line
new Vue({
i18n,
render: h => h(App),
}).$mount('#app')

View File

@@ -61,6 +61,10 @@ const pages = {
entry: "./src/apps/SpaceManageView/main.js",
chunks: ["chunk-vendors"],
},
profile_view: {
entry: "./src/apps/ProfileView/main.js",
chunks: ["chunk-vendors"],
}
}
module.exports = {