Skip to content

Commit 4127e68

Browse files
wip(docs): minor enhancements
1 parent f58c9b1 commit 4127e68

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

docs/faq.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ Yes, since 0.8.4+ `vue2-sfc-loader.js` supports IE 11.
1818
## Why vue3-sfc-loader is so big
1919

2020
Because it embeds :
21-
- [Vue3 compiler](https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme)
22-
- [babel + many plugins](https://babeljs.io/)
21+
- Vue2 compiler or [Vue3 compiler](https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme)
22+
- [babel + many plugins](https://babeljs.io/) :small_orange_diamond:
2323
- [postcss](https://postcss.org/)
24-
- [core-js](https://github.com/zloirock/core-js)
24+
- [core-js](https://github.com/zloirock/core-js) :small_orange_diamond:
2525

26-
[see details](https://unpkg.com/[email protected]/dist/vue3-sfc-loader.report.html) (under the 'Stat' tab)
26+
:small_orange_diamond: : depends on `browsersList` query
27+
28+
[see details](https://unpkg.com/vue3-sfc-loader/dist/vue3-sfc-loader.report.html) (under the 'Stat' tab)
2729

2830
(note that by design, Vue3 compiler requires babel and postcss)
2931

docs/migrationGuide.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,16 @@ First of all, `http-vue-loader` and `vue3-sfc-loader` serves the same need: run
99

1010
| | `http-vue-loader` | `vue3-sfc-loader` |
1111
|-:|:-:|:-:|
12-
| supports ES6 | no | yes |
13-
| supports Vue runtime-only build | no | yes |
14-
| `fetch` resources asynchronously | no | yes |
15-
| uses native vue CSS compiler | no | yes |
16-
| has JSX support | no | yes |
17-
| properly reports template, style or script errors | no | yes |
18-
| scoped style support | basic | full |
19-
| handle http requests by default | yes | no |
20-
| handle CSS injection by default | yes | no |
21-
| supports nested import/require | no | yes |
22-
| recommended for production | no | yes |
12+
| has ES6 support | :x: | :heavy_check_mark: |
13+
| requires only Vue runtime build | :x: | :heavy_check_mark: |
14+
| `fetch` resources asynchronously | :x: | :heavy_check_mark: |
15+
| has full `scoped` style support | :x: | :heavy_check_mark: |
16+
| has JSX support | :x: | :heavy_check_mark: |
17+
| properly reports template, style or script errors | :x: | :heavy_check_mark: |
18+
| supports nested `import`/`require` | :x: | :heavy_check_mark: |
19+
| has a default http requests handler | :heavy_check_mark: | :x: |
20+
| has a default CSS injection handler | :heavy_check_mark: | :x: |
21+
| recommended for production | :x: | :heavy_check_mark: |
2322
| bundle size (min gz) | 2.7KB | 543KB |
2423

2524

0 commit comments

Comments
 (0)