Giter VIP home page Giter VIP logo

Comments (8)

gausszhou avatar gausszhou commented on July 29, 2024

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.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024

Great. Thats good to hear. I'll start with the translations and then add the types.

from vue3-drag-resize-rotate.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024

@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.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024

@gausszhou , would you like to leave a short answer please?

from vue3-drag-resize-rotate.

gausszhou avatar gausszhou commented on July 29, 2024

@S1ngularity96

Sorry, I just noticed your message

  1. Yes we can migrate to vite for packaging
  2. Comments should be in English
  3. vitepress is good. But I don't know how to embed the demo example

from vue3-drag-resize-rotate.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024
  1. @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.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024

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.

S1ngularity96 avatar S1ngularity96 commented on July 29, 2024

@gausszhou any progress here?

from vue3-drag-resize-rotate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.