cabinet/frontend/src/views/Console.vue

46 lines
825 B
Vue
Raw Normal View History

2019-10-31 15:14:27 +00:00
<template>
2019-11-01 17:09:17 +00:00
<b-container fluid>
<b-row>
<b-col>
<h1>Console</h1>
</b-col>
</b-row>
<b-row>
<b-col md="5">
<h2>Scratchpad</h2>
<ScratchPad />
</b-col>
<b-col md="5">
<h2>Editor</h2>
<MainEditor :slug="$route.params.slug" />
</b-col>
<b-col md="2">
<h2>Search Results</h2>
<SearchResults />
</b-col>
</b-row>
</b-container>
2019-10-31 15:14:27 +00:00
</template>
<script>
// @ is an alias to /src
2019-11-01 17:09:17 +00:00
import MainEditor from "../components/MainEditor";
import ScratchPad from "../components/ScratchPad";
import SearchResults from "../components/SearchResults";
2019-10-31 15:14:27 +00:00
export default {
name: 'home',
components: {
2019-11-01 17:09:17 +00:00
SearchResults,
ScratchPad,
MainEditor
2019-10-31 15:14:27 +00:00
}
}
</script>
2019-11-01 17:09:17 +00:00
<style scoped>
h2 {
font-size: large;
}
</style>