drafted router with vue-router, drafted search results display page
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<template lang="html">
|
||||
<div id="main-content" v-html="html"></div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState, mapActions } from 'vuex'
|
||||
|
||||
export default {
|
||||
props:['html'],
|
||||
computed: {
|
||||
...mapState({
|
||||
token: state => state.User.token,
|
||||
isloggedin: state => state.User.isloggedin
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
Reference in New Issue
Block a user