You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -494,7 +487,7 @@ _see at [vuejs/rfcs](https://github.com/vuejs/rfcs/pull/231)_
494
487
495
488
496
489
497
-
## Dynamic component (`:is` Special Attribute)
490
+
## Dynamic component (using `:is` Special Attribute)
498
491
499
492
In the following example we use a trick to preserve reactivity through the `Vue.defineAsyncComponent()` call (see the following [discussion](https://github.com/FranckFreiburger/vue3-sfc-loader/discussions/6))
500
493
@@ -672,7 +665,7 @@ In the following example we use a trick to preserve reactivity through the `Vue.
672
665
673
666
674
667
675
-
## Example using SFC Custom Blocks for i18n
668
+
## Use SFC Custom Blocks for i18n
676
669
677
670
<!--example:source:custom_block_i18n-->
678
671
```html
@@ -739,7 +732,7 @@ In the following example we use a trick to preserve reactivity through the `Vue.
739
732
[:top:](#readme)
740
733
741
734
742
-
## Example using getResource() and process the files like webpack does
735
+
## Use Options.getResource() and (nearly) process the files like webpack does
743
736
744
737
<!--example:source:getResource_loaders-->
745
738
```html
@@ -772,7 +765,7 @@ In the following example we use a trick to preserve reactivity through the `Vue.
772
765
773
766
constoptions= {
774
767
moduleCache: {
775
-
vue: Vue,
768
+
'vue': Vue,
776
769
'file!'(content, path, extname, options) {
777
770
778
771
returnString(newURL(path, window.location));
@@ -789,6 +782,7 @@ In the following example we use a trick to preserve reactivity through the `Vue.
789
782
790
783
switch (extname) {
791
784
case'.svg': return source;
785
+
default: returnundefined; // let vue3-sfc-loader handle this
792
786
}
793
787
},
794
788
getFile(url, options) {
@@ -830,17 +824,10 @@ In the following example we use a trick to preserve reactivity through the `Vue.
0 commit comments