@@ -68,17 +68,17 @@ Load .vue files dynamically at runtime from your html/js. No node.js environment
68
68
see [ examples] ( docs/examples.md )
69
69
70
70
71
- ## Try It Online < sub > : test_tube : </ sub >
71
+ ## Try It Online
72
72
73
73
https://codepen.io/franckfreiburger/project/editor/AqPyBr
74
74
75
75
76
- ## Public API documentation < sub > : book : </ sub >
76
+ ## Public API documentation
77
77
78
78
** [ loadModule] ( docs/api/README.md#loadmodule ) ** (` path ` : string, ` options ` : [ Options] ( docs/api/interfaces/options.md ) ): Promise\< Module>
79
79
80
80
81
- ## dist/ < sub > : package : </ sub >
81
+ ## dist/
82
82
83
83
[ ![ latest bundle version] ( https://img.shields.io/npm/v/vue3-sfc-loader?label=version )] ( https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/CHANGELOG.md )
84
84
[ ![ bundle minified size] ( https://img.shields.io/bundlephobia/min/vue3-sfc-loader?label=min )] ( #dist )
@@ -94,20 +94,20 @@ Load .vue files dynamically at runtime from your html/js. No node.js environment
94
94
- ` npm install vue3-sfc-loader ` (` ./node_modules/vue3-sfc-loader/dist/vue3-sfc-loader.js ` )
95
95
96
96
97
- ## Build your own version < sub > : hammer_and_wrench : </ sub >
97
+ ## Build your own version
98
98
99
99
` webpack --config ./build/webpack.config.js --mode=production --env targetsBrowsers="> 1%, last 2 versions, Firefox ESR, not dead, not ie 11" `
100
100
101
101
_ see [ ` package.json ` ] ( https://github.com/FranckFreiburger/vue3-sfc-loader/blob/main/package.json ) "build" script_
102
102
_ see [ browserslist queries] ( https://github.com/browserslist/browserslist#queries ) _
103
103
104
104
105
- ## How It Works < sub > : gear : </ sub >
105
+ ## How It Works
106
106
107
107
[ ` vue3-sfc-loader.js ` ] ( https://unpkg.com/vue3-sfc-loader/dist/report.html ) = ` Webpack ` ( ` @vue/compiler-sfc ` + ` @babel ` )
108
108
109
109
110
- ### more details < sub > : mag : </ sub >
110
+ ### more details
111
111
112
112
1 . load the ` .vue ` file
113
113
1 . parse and compile template, script and style sections (` @vue/compiler-sfc ` )
@@ -117,7 +117,7 @@ Load .vue files dynamically at runtime from your html/js. No node.js environment
117
117
1 . merge all and return the component
118
118
119
119
120
- ## Any Questions < sub > : question : </ sub >
120
+ ## Any Questions
121
121
122
122
<!-- ask here: https://stackoverflow.com/questions/ask?tags=vue3-sfc-loader (see [previous questions](https://stackoverflow.com/questions/tagged/vue3-sfc-loader)) -->
123
123
[ :speech_balloon : ask in Discussions tab] ( https://github.com/FranckFreiburger/vue3-sfc-loader/discussions?discussions_q=category%3AQ%26A )
0 commit comments