refactor editor
This commit is contained in:
+39
-17
@@ -1,34 +1,56 @@
|
||||
/** 导出所有组件 */
|
||||
import AuthorizeForm from "~/components/authorize-form";
|
||||
import RootLayout from "~/components/root-layout";
|
||||
import Comment from "~/components/comment";
|
||||
import CommentForm from "~/components/comment/form";
|
||||
import CommentList from "~/components/comment/list";
|
||||
import CommentReplyList from "~/components/comment/list/reply";
|
||||
import CommentReplyForm from "~/components/comment/form/reply";
|
||||
import UserProfile from "~/components/user-profile";
|
||||
import UserProfilePopup from "~/components/user-profile/popup";
|
||||
import CodeEditor from "~/components/code-editor";
|
||||
import TiptapEditor from "~/components/tiptap-editor";
|
||||
import TiptapView from "~/components/tiptap-view";
|
||||
import ArticleEditor from "~/components/article-editor";
|
||||
import ArticleView from "~/components/article-view";
|
||||
import NotifyEditor from "~/components/notify-editor";
|
||||
import NotifyView from "~/components/notify-view";
|
||||
|
||||
export default [
|
||||
RootLayout,
|
||||
AuthorizeForm,
|
||||
Comment,
|
||||
CommentForm,
|
||||
CommentReplyForm,
|
||||
CommentList,
|
||||
CommentReplyList,
|
||||
UserProfile,
|
||||
UserProfilePopup
|
||||
UserProfilePopup,
|
||||
CodeEditor,
|
||||
TiptapEditor,
|
||||
TiptapView,
|
||||
ArticleEditor,
|
||||
ArticleView,
|
||||
NotifyEditor,
|
||||
NotifyView
|
||||
];
|
||||
|
||||
export {
|
||||
RootLayout,
|
||||
AuthorizeForm,
|
||||
Comment,
|
||||
CommentForm,
|
||||
CommentReplyForm,
|
||||
CommentList,
|
||||
CommentReplyList,
|
||||
UserProfile,
|
||||
UserProfilePopup
|
||||
UserProfilePopup,
|
||||
CodeEditor,
|
||||
TiptapEditor,
|
||||
TiptapView,
|
||||
ArticleEditor,
|
||||
ArticleView,
|
||||
NotifyEditor,
|
||||
NotifyView
|
||||
};
|
||||
|
||||
export type {
|
||||
CodeEditorExpose
|
||||
} from "./code-editor";
|
||||
|
||||
export type {
|
||||
TiptapEditorExpose
|
||||
} from "./tiptap-editor";
|
||||
|
||||
export type {
|
||||
ArticleEditorExpose
|
||||
} from "./article-editor";
|
||||
|
||||
export type {
|
||||
NotifyEditorExpose
|
||||
} from "./notify-editor";
|
||||
|
||||
Reference in New Issue
Block a user