Skip to content

v-code-diff 包入口配置错误,无法使用官方文档中的导入方式 #174

Description

@automation2013

按照官方文档在 Vue3 项目中引入:
import { CodeDiff } from 'v-code-diff';
检查发现,package.json 中声明的入口指向:
"main": "dist/index.cjs",
但实际发布包中对应文件不存在,Vue3 构建文件位于:
dist/v3/index.es.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions