FranckFreiburger / vue3-sfc-loader

Single File Component loader for Vue2 and Vue3. Load .vue files directly from your HTML. No node.js environment, no build step.
MIT License
1.03k stars 116 forks source link

Sample not works #166

Closed mirshahreza closed 5 months ago

mirshahreza commented 10 months ago

I made a sample here but not works, can anyone correct the code?

The sample is here

https://stackblitz.com/edit/web-platform-qkmnd5?file=index.html

fushengruomengzhang commented 10 months ago
image

Routing Problem

mirshahreza commented 9 months ago

Hi again I make a simple example that is working but the main problem is adding dynamically registered ".vue" component to the page. Can you have a look https://github.com/mirshahreza/DynamicVueComponen

Thanks

mirshahreza commented 9 months ago

Because this is not a bug I close this issue and I create a test here:

https://stackoverflow.com/questions/77139424/dynamically-adding-new-vue-component

fushengruomengzhang commented 9 months ago

因为这不是一个错误,所以我关闭了这个问题并在此处创建了一个测试:

https://stackoverflow.com/questions/77139424/dynamically-adding-new-vue-component

Using relative paths;

image image image

https://github.com/FranckFreiburger/vue3-sfc-loader/assets/63709269/2d9406ec-275b-4479-9f0c-95d0a15b48b5

mirshahreza commented 9 months ago

It is clear now Thank you for your time Regards