We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
根据文档引入 import VueRulerTool from 'vue-ruler-tool' Vue.component('vue-ruler-tool', VueRulerTool) vite出现异常 `Could not resolve "./components/vue-ruler-tool"
import VueRulerTool from 'vue-ruler-tool'
Vue.component('vue-ruler-tool', VueRulerTool)
node_modules/vue-ruler-tool/src/index.js:4:24: 4 │ export { default } from './components/vue-ruler-tool' ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`
The text was updated successfully, but these errors were encountered:
解决方法 在index.js中为导出语句加上 .vue后缀即可
.vue
Sorry, something went wrong.
这个问题还没修复,但是在依赖里改代码终归不是办法啊。别人重新依赖是没变的
解决方法 在index.js中为导出语句加上 .vue后缀即可 这个问题还没修复,但是在依赖里改代码终归不是办法啊。别人重新依赖是没变的
如果没有其他解决方法 并且又是刚需的话 只能先这么用了
No branches or pull requests
根据文档引入
import VueRulerTool from 'vue-ruler-tool'
Vue.component('vue-ruler-tool', VueRulerTool)
vite出现异常
`Could not resolve "./components/vue-ruler-tool"
`
The text was updated successfully, but these errors were encountered: