Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3项目导入不了 #46

Open
abinabin2dd opened this issue Nov 30, 2023 · 2 comments · May be fixed by #48
Open

Vue3项目导入不了 #46

abinabin2dd opened this issue Nov 30, 2023 · 2 comments · May be fixed by #48

Comments

@abinabin2dd
Copy link

Module not found: Error: Can't resolve '@dataview/datav-vue3'

@newpanjing
Copy link

我fork了一个新的包,只是修复了这个错误。大家可以用这个:

yarn add @newpanjing/datav-vue3

然后使用方法还是一模一样,但是包的位置不一样了:

<script setup lang="ts">

import { BorderBox1 } from '@newpanjing/datav-vue3';
</script>

<template>
  <BorderBox1 style="width:200px;height:50px;" />
</template>

<style scoped>

</style>

要从这里导入:import { BorderBox1 } from '@newpanjing/datav-vue3';

源码的github地址:

https://github.com/newpanjing/DataV-Vue3

@HydenLiu HydenLiu linked a pull request Apr 28, 2024 that will close this issue
10 tasks
@LouisLiu00
Copy link

@newpanjing 你是牛的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants