jerrywu001 / sandpack-vue3

Vue3 components that give you the power of editable sandboxes that run in the browser.
https://sandpack-vue3.js-bridge.com
MIT License
86 stars 9 forks source link

How to install your package ? #7

Closed Andy-d-g closed 1 year ago

Andy-d-g commented 1 year ago

Hello, I try to install your package but I don't success.

Context

Steps

  1. yarn add sandpack-vue3
  2. Add the dependancy into main.ts (import SanpackPlugin from "sandpack-vue3"; + app.use(SanpackPlugin());)
  3. Add into types of tsconfig.json : "sandpack-vue3/global"

Error

Internal server error: Failed to resolve import "sandpack-vue3" from "src/main.ts". Does the file exist?

Thank you

jerrywu001 commented 1 year ago

can you provide a github repo?

Andy-d-g commented 1 year ago

My bad, it was an issue with my monorepo.