vuejs / repl

Vue SFC REPL as a Vue 3 component
https://repl-vuejs.vercel.app
MIT License
930 stars 172 forks source link

About the introduction of third party packages #87

Closed Alfred-Skyblue closed 1 year ago

Alfred-Skyblue commented 1 year ago

I would like to create a feature that allows importing third-party packages, but I have found that there is no way to query all available third-party packages. Can I write a common list here for loading these third-party packages? I am willing to contribute to this. I'm wondering if the official team has any plans regarding this.

Lsscr commented 1 year ago

The idea sounds good. hope it will be realized soon 👀

sxzz commented 1 year ago

I think it’s not necessary. Cuz we can import any ESM packages from npm CDN, like unpkg or jsdelivr.

Alfred-Skyblue commented 1 year ago

I think it’s not necessary. Cuz we can import any ESM packages from npm CDN, like unpkg or jsdelivr.

My idea is that we can use CDN to import any esm packages, but for convenience, we can also list some commonly used packages for quick installation, which does not conflict with the current design in principle.

sxzz commented 1 year ago

Maybe you can create a new project for such a collection.