hunyan-io / vite-plugin-vue-nested-sfc

Nest SFCs within your SFC.
MIT License
96 stars 0 forks source link

Vue Nested SFC does not work with Stackblitz #1

Closed louiss0 closed 1 year ago

louiss0 commented 1 year ago

I don't know why but Vue this extension does not work on stackblitz. I don't know why but it seems to only work in VSCode. This is strange. I didn't realize I had to use vue compiler options but I did afterwards but things did not work.

ENOENT: no such file or directory, open 'home/projects/vitejs-vite-rfm3xc/src/components/HelloWorld.vue'

https://stackblitz.com/edit/vitejs-vite-rfm3xc?file=src/components/HelloWorld.vue

This is my package json.

 "dependencies": {
    "vite-plugin-vue-nested-sfc": "^0.0.4",
    "vue": "^3.2.47"
  },
  "devDependencies": {
    "@vitejs/plugin-vue": "^4.1.0",
    "typescript": "^5.0.2",
    "vite": "^4.3.2",
    "vue-tsc": "^1.4.2"
  }
hunyan-io commented 1 year ago

Fixed on v0.0.5