Skip to content
New issue

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

Create a vue dev tools plugin #212

Open
rrd108 opened this issue Sep 3, 2024 · 4 comments
Open

Create a vue dev tools plugin #212

rrd108 opened this issue Sep 3, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed P3 Low priority

Comments

@rrd108
Copy link
Owner

rrd108 commented Sep 3, 2024

https://devtools.vuejs.org/plugins/api

@David-Pena
Copy link
Collaborator

Is that guide for the new Vue dev tools? (The one inspired by nuxt?

@rrd108
Copy link
Owner Author

rrd108 commented Sep 4, 2024

Yes. At least I think it is

@rrd108
Copy link
Owner Author

rrd108 commented Sep 4, 2024

I fixed the link

@David-Pena David-Pena added enhancement New feature or request help wanted Extra attention is needed P3 Low priority labels Sep 4, 2024
@rrd108
Copy link
Owner Author

rrd108 commented Sep 5, 2024

@brenoepics You can check it at https://github.com/rrd108/vue-mess-detector/tree/212-create-a-vue-dev-tools-plugin

These are what I did to manage to make the rollup build. As I said this is new territory for me and I am not sure at all if we even needs rollup here.

  • package.json
    • new build:rollup script added
    • new packages added for rollup
    • main changed
    • sideEffects added
    • exports added
    • module, unpkg, jsdelivr, types added
    • peerDependencies added
  • rollup.config.js added
  • top level awaits are replaced with then
  • process replaced with process?
  • src/vue-mess-detector-devtools.ts added - this is the only devtools related file
  • tsconfig.json changed
  • vite.config changed

Here you can see all changes: https://github.com/rrd108/vue-mess-detector/compare/212-create-a-vue-dev-tools-plugin?expand=1

I was using cursor to fix all issues, and as it is a new territory for me I have no idea of 80% of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed P3 Low priority
Projects
None yet
Development

No branches or pull requests

2 participants