Comments (8)
Dear Mr Andre,
This couldn't be better, I'm glad you're interested in participating in this project, and I welcome your contributions.
from vue3-drag-resize-rotate.
Great. Thats good to hear. I'll start with the translations and then add the types.
from vue3-drag-resize-rotate.
@gausszhou I have started to work on the task. When installing the NPM packages I had noticed that very many packages were outdated. I also noticed that the project is still implemented with rollup and webpack, which is noticeable during development by slow loading times. Therefore I updated the most important packages and replaced Rollup with Vite.
In the next step I had a closer look at how the translation problem can be solved. I noticed that the Markdown files and the Vue files are merged and the corresponding routes are generated. I had my difficulties to work with vueI18n and didn't see a good way to translate the Markdown files and the Vue files. In the Vue SF components, for example, you also have many comments. Unfortunately these can't be translated, because the text of the file is just copied.
I had the idea to document the library with VitePress. Out-of-the-box everything worked exactly as I imagined. On top is the Markdown text and underneath the example code highlighted in a box.
I now have to make decisions with you.
a) is it ok to keep the project migrated to Vite?
b) should we move the documentation to a separate repository and implement further translations in the form of a fork like vue does? Look at the examples Vue translations
With regards
from vue3-drag-resize-rotate.
@gausszhou , would you like to leave a short answer please?
from vue3-drag-resize-rotate.
Sorry, I just noticed your message
- Yes we can migrate to vite for packaging
- Comments should be in English
- vitepress is good. But I don't know how to embed the demo example
from vue3-drag-resize-rotate.
- @gausszhou Check this pull-request for updating to vite. update/vite-and-dependecies
About 2 and 3:
I have already experimented with Vitepress and managed to generate your existing documentation with the same examples. I had looked up how other projects solve this problem. There is an easy way to import code snippets. See VitePress Docs.
If you're satisfied with the first pull request so far, I'd like to set up the Vitepress doc in a separate repository and make you the maintainer. After the documentation I will take care of the TypeScript features.
By the way. Nice to know. With VitePress we have additional features like a search that makes it easier to browse the examples.
from vue3-drag-resize-rotate.
I'm finished with the VitePress Docs. Everything looks nice so far. I encountered an error during docs build. Your latest release builds an esm module but there is no "type": "module"
in package.json. VitePress needs this setting in your package.json file otherwise the build wont work.
Could you please add this and re-release your package?
EDIT: is there any way we could talk? For example on discord or anywhere else? There are still some decisions that must be discussed
from vue3-drag-resize-rotate.
@gausszhou any progress here?
from vue3-drag-resize-rotate.
Related Issues (20)
- 有时间了,可否写一下api文档?
- 在初次渲染组件时,增加位置与边界的判断 HOT 1
- 启动父级限制parent=true后,如果父元素高度改变,元素拖拽的限制仍然为父级旧的高度 HOT 1
- 希望增加删除按钮 HOT 1
- canvas生成图片的时候,postion被重置
- 旋转角度事件(新增) 样例失败 HOT 2
- 关于吸附功能以及组件开放旋转时的问题 HOT 1
- 锁定宽高比例&旋转一定的角度之后进行 resize 位置偏移 HOT 1
- [bug]无法激活组件 HOT 1
- 父div变更大小时,窗口仍然只能在原有父窗体尺寸内改变位置 HOT 2
- 拖动和滚动条不同步 HOT 3
- [BUG] 我在升级了3.0.2版本后,准备测试激活的相关问题,但是在原3.0.1下可以正常的使用,但3.0.2直接报错 HOT 2
- [BUG] 单击一次激活事件触发两次 HOT 2
- z-Index setting it does not work HOT 1
- BUG: ios网页上面,非激活状态无法点击里面的元素 HOT 1
- Don't use scoped styles for overrideable styles
- Configure handle size via CSS
- 是否支持组合元素啊?
- 页面出现滚动条的时候缩放受到限制 HOT 1
- 可否拉伸时出现参考线
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-drag-resize-rotate.