started to implement blabla : menu block, link vuejsed, route, component
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<div id="blabla">
|
||||
<h1>Blabla</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "Blabla",
|
||||
data: () => ({
|
||||
|
||||
}),
|
||||
beforeMount(){
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
</style>
|
@@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
|
||||
|
||||
import Home from 'vuejs/components/Content/Home'
|
||||
import Base from 'vuejs/components/Content/Base'
|
||||
import Blabla from 'vuejs/components/Content/Blabla'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
@@ -36,6 +37,16 @@ const routes = [
|
||||
// 'base': Base
|
||||
// }
|
||||
},
|
||||
{
|
||||
name:'blabla',
|
||||
path: `${basePath}blabla`,
|
||||
// path: `/base`,
|
||||
// alias: (() => languages.map(l => `/${l}/base`))(),
|
||||
component: Blabla,
|
||||
// components: {
|
||||
// 'base': Base
|
||||
// }
|
||||
},
|
||||
// {
|
||||
// path: '*',
|
||||
// name: 'notfound',
|
||||
|
Reference in New Issue
Block a user