vue3-sfc-loader icon indicating copy to clipboard operation
vue3-sfc-loader copied to clipboard

Single File Component loader for Vue2 and Vue3. Load .vue files directly from your HTML. No node.js environment, no build step.

Results 46 vue3-sfc-loader issues
Sort by recently updated
recently updated
newest added
trafficstars

I thought I share this here, for anyone interested. This is a project I got all the pieces together to have a project feeling like a vite project. https://stackblitz.com/edit/bananaacid-vue3-esm-browser-only?file=README.md

enhancement

The function createSFCModule is not exported anymore. Only: buildTemplateProcessor loadModule version vueVersion are available. How do I load a component from a string?

bug
unconfirmed

**'SyntaxError: [vue/compiler-sfc] Unexpected token' exception when SFC content (script section) include '' string** If script section of sfc include substring `` then exception `SyntaxError: [vue/compiler-sfc] Unexpected token` generated. **To Reproduce**...

bug
unconfirmed

there is an error in IE11 缺少 ':' SyntaxError: 缺少 ':' at k (http://localhost:8080/js/chunk-vendors.js:5299:642225) at _callee46$ (http://localhost:8080/js/chunk-vendors.js:5299:635484) at tryCatch (http://localhost:8080/js/chunk-vendors.js:20872:7) at Anonymous function (http://localhost:8080/js/chunk-vendors.js:20962:9) at Anonymous function (http://localhost:8080/js/chunk-vendors.js:20903:9) at asyncGeneratorStep...

bug
unconfirmed

I was getting the following error when trying to use vue.js composables and import a script js file. 'import' and 'export' may appear only with 'sourceType: "module"' (1:0) I have...

question

It would be great to have a template project ready to show how the tool works with its examples in ways that allow a better approach for anyone who wants...

enhancement