10 changed files with 3450 additions and 234 deletions
-
3540package-lock.json
-
1package.json
-
13src/api/blog.ts
-
16src/components/blogs/ceshi.vue
-
35src/main.ts
-
11src/router/admin.ts
-
46src/stores/index.ts
-
6src/views/admin/blogmange/BlogFormView.vue
-
3src/views/admin/blogmange/BlogManageView.vue
-
9src/views/blog/HomePageView.vue
3540
package-lock.json
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,13 @@ |
|||
// 博客管理
|
|||
export interface blogInterface { |
|||
key: string, |
|||
blogtitle: string, |
|||
create_at: Date, |
|||
readnum: number, |
|||
readminite: number, |
|||
wordcount: number, |
|||
img: string, |
|||
blogcontent: string, |
|||
typename: string, |
|||
labelnames: string |
|||
} |
@ -1,11 +1,13 @@ |
|||
<template> |
|||
<div>{{ }}</div> |
|||
<v-md-editor v-model="text" height="400px"></v-md-editor> |
|||
</template> |
|||
|
|||
<script setup lang='ts'> |
|||
|
|||
<script> |
|||
export default { |
|||
data() { |
|||
return { |
|||
text: `<h1 align="center">Markdown Editor built on Vue</h1>`, |
|||
}; |
|||
}, |
|||
}; |
|||
</script> |
|||
|
|||
<style> |
|||
|
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue