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

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

Closed capraynor closed 5 months ago

capraynor commented 1 year 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 5 months ago

Thanks for pointing this out !