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.19k stars 127 forks source link

The giving example using a wrong format to call "createCJSModule" #145

Closed capraynor closed 10 months ago

capraynor commented 2 years ago

https://github.com/FranckFreiburger/vue3-sfc-loader/blob/80f10f9fd82d7dde6c8681d23d36e9ac3ab9a654/docs/faq.md?plain=1#L122

👆 This line, calling createCJSModule, the first parameter should be path or something, should not type.

image

FranckFreiburger commented 10 months ago

Thanks for pointing this out !