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