feat!: publish per-component ESM entries as @timi/tdesign-mobile
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import view from "./index.vue";
|
||||
import { WebToolkit } from "timi-web";
|
||||
import { WebToolkit } from "@timi/web/utils";
|
||||
|
||||
export const ArticleView = WebToolkit.withInstall(view);
|
||||
export default ArticleView;
|
||||
|
||||
@@ -14,14 +14,14 @@
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { Article, Attachment } from "../article-editor/types";
|
||||
import { MarkdownView } from "timi-web";
|
||||
import { MarkdownView } from "@timi/web/components/markdown-view";
|
||||
import { TiptapView } from "../tiptap-view";
|
||||
import {
|
||||
getAttachmentIdFromSrc,
|
||||
normalizeArticleContentType,
|
||||
normalizeRawArticleContent
|
||||
} from "../article-editor/content";
|
||||
import { ATTACHMENT_ID_ATTR, normalizeContent } from "timi-web/editor";
|
||||
import { ATTACHMENT_ID_ATTR, normalizeContent } from "@timi/web/editor";
|
||||
|
||||
defineOptions({
|
||||
name: "ArticleView"
|
||||
|
||||
Reference in New Issue
Block a user