Comments (2)
大佬,如果我的组件引用了第三方的ui库,比如Element-ui,其也有2个版本,如何使打包出来的文件同样兼容vue2和vue3呢?
不行的, demi打出来的, 其插件都能适配, 那么我直接打包了element ui 到vue3里面用就好了呀, 那为什么还要花那么多时间重新搞个element-plus呢, 注意我这个插件里面是主体代码用vue3的形式写的, 然后向下兼容的, 并不能向上兼容, 也就是插件有element-ui等vue2时的插件, 并不能在里面有
from vue3-sketch-ruler.
大佬,如果我的组件引用了第三方的ui库,比如Element-ui,其也有2个版本,如何使打包出来的文件同样兼容vue2和vue3呢?
不行的, demi打出来的, 其插件都能适配, 那么我直接打包了element ui 到vue3里面用就好了呀, 那为什么还要花那么多时间重新搞个element-plus呢, 注意我这个插件里面是主体代码用vue3的形式写的, 然后向下兼容的, 并不能向上兼容, 也就是插件有element-ui等vue2时的插件, 并不能在里面有
我想通过vue3+Element-plus构建出能在vue2项目或vue3项目中可使用的通用组件,这种方式可行吗?
这是我的仓库demo
现在只能在vue3一端使用,thanks
from vue3-sketch-ruler.
Related Issues (20)
- v2 版本跑不起来 HOT 1
- 打包到linux中css文件没有引入 HOT 1
- 自定义图标后点击图标提示 runtime-core.esm-bundler.js:38 [Vue warn]: Component emitted event "handleCornerClick" but it is neither declared in the emits option nor as an "onHandleCornerClick" prop. HOT 2
- 使用报错:Uncaught TypeError: Object(...) is not a function HOT 1
- 部署到线上后样式丢失 HOT 1
- 标尺精度有问题 HOT 2
- 参考线刻度好像不准确 HOT 1
- vue3.x中 删除标尺线 不会立即删除 HOT 5
- vue3.x,当去掉滚动条后,刻度显示不准确 HOT 3
- Vue2.x 鼠标移入不显示标线 HOT 1
- x、y轴的负数能禁用吗 HOT 3
- 1.3.11 安装报错 HOT 1
- 1.3.9 + lib no files HOT 1
- 1.3.9 + An exception is displayed, and the console keeps outputting HOT 1
- mac2k浏览器下,标尺不对,外接屏显示正常 HOT 3
- console.log('t', startstart)
- 刻度显示不全,已经确认正确引入插件css了,也排查过想的适配js的原因。使用的是vite+vue3
- 显示器缩放150%出现的标尺刻度异常问题
- TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue3-sketch-ruler.