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

How to import a package locally? And How to use aliases from my vite.config in code? #234

Open
NeilMcEachin opened this issue Mar 25, 2024 · 0 comments

Comments

@NeilMcEachin
Copy link

I'm developing a component library and was hoping to use the repl in my showcase. I added @vue/repl to my project. I now want to import my package into the repl code editor and have it render.

similar to importing GButton here
https://repl-vuejs.vercel.app/#eNp9kT1PwzAQhv+K8RKQoBGCqaQVFFV8DICgEouXkF5SF8e27HNbFOW/c3bV0gF1y93znvOc3fE7awerAHzIC185aZF5wGDHQsvWGoesYw5q1rPamZZlFM0O0MMkIBq9x7e4Bo0/tQmuyRsnWyMdZDdCC10Z7ZG1vmGjeOJp9ghKGfZpnJqfZGdCF/lWgH5NBUJrVYlAFWPF4nLcdWm474ucqtSV2gZkq4vWzEGNBCcuOMu3cKemyq8EZ+BR8AiL/OBwfs7Rk1stm8HSG00X0cV5wSvTWqnAvVqU5C74kCUSWUnq6+fUQxfgfNevFlB9/9Nf+k3sCf7mwINbgeB7hqVrgNQinn68wIa+95BWC4rSR+A7eKNCdNzGJkHPSfsgl2yf0ptJ3cz8dIOg/W6pKBqTfcoLTk98f2T1P92rwXWaE7rn/S80iMM8

is there a way to use Import Map to point to a local dependency. Also related is there a way to import by alias and have the repl interpret?

Let me know if there is a better place to ask questions like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant