vue 2.6.12 → 2.7.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. package/README.md +20 -224
  2. package/compiler-sfc/index.d.ts +1 -0
  3. package/compiler-sfc/index.js +1 -0
  4. package/compiler-sfc/package.json +4 -0
  5. package/dist/vue.common.dev.js +11487 -11897
  6. package/dist/vue.common.prod.js +8 -3
  7. package/dist/vue.esm.browser.js +11329 -11968
  8. package/dist/vue.esm.browser.min.js +8 -3
  9. package/dist/vue.esm.js +11484 -11935
  10. package/dist/vue.js +11490 -11900
  11. package/dist/vue.min.js +8 -3
  12. package/dist/vue.runtime.common.dev.js +8433 -8377
  13. package/dist/vue.runtime.common.prod.js +8 -3
  14. package/dist/vue.runtime.esm.js +8444 -8410
  15. package/dist/vue.runtime.js +8436 -8380
  16. package/dist/vue.runtime.min.js +8 -3
  17. package/package.json +72 -111
  18. package/packages/compiler-sfc/dist/compiler-sfc.js +7 -0
  19. package/packages/compiler-sfc/node_modules/.bin/parser +17 -0
  20. package/packages/compiler-sfc/node_modules/.bin/sass +17 -0
  21. package/packages/compiler-sfc/package.json +30 -0
  22. package/src/compiler/{codeframe.js → codeframe.ts} +9 -7
  23. package/src/compiler/codegen/{events.js → events.ts} +22 -42
  24. package/src/compiler/codegen/{index.js → index.ts} +148 -137
  25. package/src/compiler/{create-compiler.js → create-compiler.ts} +26 -18
  26. package/src/compiler/directives/bind.ts +9 -0
  27. package/src/compiler/directives/{index.js → index.ts} +0 -2
  28. package/src/compiler/directives/{model.js → model.ts} +15 -18
  29. package/src/compiler/directives/{on.js → on.ts} +3 -4
  30. package/src/compiler/{error-detector.js → error-detector.ts} +61 -31
  31. package/src/compiler/{helpers.js → helpers.ts} +73 -61
  32. package/src/compiler/{index.js → index.ts} +2 -3
  33. package/src/compiler/{optimizer.js → optimizer.ts} +30 -23
  34. package/src/compiler/parser/{entity-decoder.js → entity-decoder.ts} +1 -3
  35. package/src/compiler/parser/{filter-parser.js → filter-parser.ts} +43 -24
  36. package/src/compiler/parser/{html-parser.js → html-parser.ts} +50 -29
  37. package/src/compiler/parser/{index.js → index.ts} +191 -169
  38. package/src/compiler/parser/{text-parser.js → text-parser.ts} +8 -9
  39. package/src/compiler/{to-function.js → to-function.ts} +27 -22
  40. package/src/core/components/{index.js → index.ts} +0 -0
  41. package/src/core/components/keep-alive.ts +164 -0
  42. package/src/core/{config.js → config.ts} +28 -30
  43. package/src/core/global-api/{assets.js → assets.ts} +8 -7
  44. package/src/core/global-api/{extend.js → extend.ts} +10 -13
  45. package/src/core/global-api/{index.js → index.ts} +4 -5
  46. package/src/core/global-api/{mixin.js → mixin.ts} +2 -3
  47. package/src/core/global-api/use.ts +23 -0
  48. package/src/core/{index.js → index.ts} +1 -1
  49. package/src/core/instance/{events.js → events.ts} +41 -24
  50. package/src/core/instance/{index.js → index.ts} +9 -5
  51. package/src/core/instance/{init.js → init.ts} +26 -15
  52. package/src/core/instance/inject.ts +72 -0
  53. package/src/core/instance/{lifecycle.js → lifecycle.ts} +88 -45
  54. package/src/core/instance/{proxy.js → proxy.ts} +29 -24
  55. package/src/core/instance/render-helpers/{bind-dynamic-keys.js → bind-dynamic-keys.ts} +6 -5
  56. package/src/core/instance/render-helpers/{bind-object-listeners.js → bind-object-listeners.ts} +4 -8
  57. package/src/core/instance/render-helpers/{bind-object-props.js → bind-object-props.ts} +12 -17
  58. package/src/core/instance/render-helpers/{check-keycodes.js → check-keycodes.ts} +6 -7
  59. package/src/core/instance/render-helpers/{index.js → index.ts} +1 -3
  60. package/src/core/instance/render-helpers/{render-list.js → render-list.ts} +12 -13
  61. package/src/core/instance/render-helpers/render-slot.ts +39 -0
  62. package/src/core/instance/render-helpers/{render-static.js → render-static.ts} +7 -10
  63. package/src/core/instance/render-helpers/{resolve-filter.js → resolve-filter.ts} +1 -3
  64. package/src/core/instance/render-helpers/{resolve-scoped-slots.js → resolve-scoped-slots.ts} +11 -8
  65. package/src/core/instance/render-helpers/{resolve-slots.js → resolve-slots.ts} +12 -11
  66. package/src/core/instance/{render.js → render.ts} +66 -29
  67. package/src/core/instance/{state.js → state.ts} +106 -87
  68. package/src/core/observer/{array.js → array.ts} +11 -2
  69. package/src/core/observer/{dep.js → dep.ts} +37 -15
  70. package/src/core/observer/{index.js → index.ts} +133 -71
  71. package/src/core/observer/{scheduler.js → scheduler.ts} +42 -43
  72. package/src/core/observer/{traverse.js → traverse.ts} +10 -7
  73. package/src/core/observer/{watcher.js → watcher.ts} +90 -64
  74. package/src/core/util/{debug.js → debug.ts} +38 -34
  75. package/src/core/util/{env.js → env.ts} +27 -30
  76. package/src/core/util/{error.js → error.ts} +12 -14
  77. package/src/core/util/{index.js → index.ts} +0 -2
  78. package/src/core/util/{lang.js → lang.ts} +6 -7
  79. package/src/core/util/{next-tick.js → next-tick.ts} +16 -10
  80. package/src/core/util/{options.js → options.ts} +119 -114
  81. package/src/core/util/{perf.js → perf.ts} +5 -1
  82. package/src/core/util/{props.js → props.ts} +74 -61
  83. package/src/core/vdom/{create-component.js → create-component.ts} +54 -51
  84. package/src/core/vdom/{create-element.js → create-element.ts} +49 -43
  85. package/src/core/vdom/{create-functional-component.js → create-functional-component.ts} +52 -27
  86. package/src/core/vdom/helpers/{extract-props.js → extract-props.ts} +18 -18
  87. package/src/core/vdom/helpers/{get-first-component-child.js → get-first-component-child.ts} +6 -5
  88. package/src/core/vdom/helpers/{index.js → index.ts} +0 -2
  89. package/src/core/vdom/helpers/is-async-placeholder.ts +6 -0
  90. package/src/core/vdom/helpers/{merge-hook.js → merge-hook.ts} +7 -5
  91. package/src/core/vdom/helpers/{normalize-children.js → normalize-children.ts} +26 -16
  92. package/src/core/vdom/helpers/{normalize-scoped-slots.js → normalize-scoped-slots.ts} +24 -16
  93. package/src/core/vdom/helpers/{resolve-async-component.js → resolve-async-component.ts} +29 -37
  94. package/src/core/vdom/helpers/update-listeners.ts +101 -0
  95. package/src/core/vdom/modules/{directives.js → directives.ts} +20 -14
  96. package/src/core/vdom/modules/index.ts +4 -0
  97. package/src/core/vdom/modules/template-ref.ts +96 -0
  98. package/src/core/vdom/{patch.js → patch.ts} +240 -139
  99. package/src/core/vdom/{vnode.js → vnode.ts} +36 -31
  100. package/src/global.d.ts +15 -0
  101. package/src/platforms/web/compiler/directives/html.ts +8 -0
  102. package/src/platforms/web/compiler/directives/{index.js → index.ts} +0 -0
  103. package/src/platforms/web/compiler/directives/{model.js → model.ts} +47 -41
  104. package/src/platforms/web/compiler/directives/{text.js → text.ts} +2 -3
  105. package/src/platforms/web/compiler/{index.js → index.ts} +0 -2
  106. package/src/platforms/web/compiler/modules/{class.js → class.ts} +10 -15
  107. package/src/platforms/web/compiler/modules/{index.js → index.ts} +1 -5
  108. package/src/platforms/web/compiler/modules/{model.js → model.ts} +6 -11
  109. package/src/platforms/web/compiler/modules/{style.js → style.ts} +9 -14
  110. package/src/platforms/web/compiler/{options.js → options.ts} +1 -2
  111. package/src/platforms/web/compiler/{util.js → util.ts} +5 -7
  112. package/src/platforms/web/entry-compiler-sfc.ts +1 -0
  113. package/src/platforms/web/{entry-compiler.js → entry-compiler.ts} +1 -3
  114. package/src/platforms/web/{entry-runtime.js → entry-runtime-esm.ts} +2 -2
  115. package/src/platforms/web/entry-runtime-with-compiler-esm.ts +5 -0
  116. package/src/platforms/web/entry-runtime-with-compiler.ts +10 -0
  117. package/src/platforms/web/entry-runtime.ts +7 -0
  118. package/src/platforms/web/runtime/{class-util.js → class-util.ts} +2 -4
  119. package/src/platforms/web/runtime/components/{index.js → index.ts} +0 -0
  120. package/src/platforms/web/runtime/components/{transition-group.js → transition-group.ts} +59 -46
  121. package/src/platforms/web/runtime/components/{transition.js → transition.ts} +43 -36
  122. package/src/platforms/web/runtime/directives/{index.js → index.ts} +0 -0
  123. package/src/platforms/web/runtime/directives/{model.js → model.ts} +22 -21
  124. package/src/platforms/web/runtime/directives/{show.js → show.ts} +11 -10
  125. package/src/platforms/web/runtime/{index.js → index.ts} +9 -10
  126. package/src/platforms/web/runtime/modules/{attrs.js → attrs.ts} +14 -18
  127. package/src/platforms/web/runtime/modules/{class.js → class.ts} +7 -18
  128. package/src/platforms/web/runtime/modules/{dom-props.js → dom-props.ts} +24 -17
  129. package/src/platforms/web/runtime/modules/{events.js → events.ts} +22 -15
  130. package/src/platforms/web/runtime/modules/{index.js → index.ts} +1 -8
  131. package/src/platforms/web/runtime/modules/{style.js → style.ts} +24 -13
  132. package/src/platforms/web/runtime/modules/{transition.js → transition.ts} +61 -63
  133. package/src/platforms/web/runtime/node-ops.ts +66 -0
  134. package/src/platforms/web/runtime/{patch.js → patch.ts} +0 -2
  135. package/src/platforms/web/runtime/{transition-util.js → transition-util.ts} +63 -38
  136. package/src/platforms/web/{entry-runtime-with-compiler.js → runtime-with-compiler.ts} +28 -19
  137. package/src/platforms/web/util/{attrs.js → attrs.ts} +18 -14
  138. package/src/platforms/web/util/{class.js → class.ts} +23 -21
  139. package/src/platforms/web/util/{compat.js → compat.ts} +4 -4
  140. package/src/platforms/web/util/{element.js → element.ts} +21 -22
  141. package/src/platforms/web/util/{index.js → index.ts} +2 -6
  142. package/src/platforms/web/util/{style.js → style.ts} +12 -12
  143. package/src/sfc/{parser.js → parser.ts} +18 -15
  144. package/src/shared/{constants.js → constants.ts} +2 -6
  145. package/src/shared/{util.js → util.ts} +78 -55
  146. package/src/types/compiler.ts +224 -0
  147. package/src/types/component.ts +209 -0
  148. package/src/types/global-api.ts +37 -0
  149. package/src/types/modules.d.ts +15 -0
  150. package/src/types/options.ts +120 -0
  151. package/src/types/ssr.ts +27 -0
  152. package/src/types/utils.ts +3 -0
  153. package/src/types/vnode.ts +127 -0
  154. package/src/v3/apiInject.ts +66 -0
  155. package/src/v3/apiLifecycle.ts +53 -0
  156. package/src/v3/apiSetup.ts +161 -0
  157. package/src/v3/apiWatch.ts +355 -0
  158. package/src/v3/currentInstance.ts +23 -0
  159. package/src/v3/debug.ts +21 -0
  160. package/src/v3/h.ts +18 -0
  161. package/src/v3/index.ts +76 -0
  162. package/src/v3/reactivity/computed.ts +100 -0
  163. package/src/v3/reactivity/effect.ts +20 -0
  164. package/src/v3/reactivity/effectScope.ts +134 -0
  165. package/src/v3/reactivity/operations.ts +14 -0
  166. package/src/v3/reactivity/reactive.ts +123 -0
  167. package/src/v3/reactivity/readonly.ts +121 -0
  168. package/src/v3/reactivity/ref.ts +249 -0
  169. package/types/index.d.ts +10 -13
  170. package/types/options.d.ts +265 -132
  171. package/types/plugin.d.ts +4 -4
  172. package/types/umd.d.ts +47 -27
  173. package/types/v3-generated.d.ts +373 -0
  174. package/types/v3.d.ts +16 -0
  175. package/types/vnode.d.ts +70 -57
  176. package/types/vue.d.ts +294 -86
  177. package/dist/README.md +0 -122
  178. package/src/.DS_Store +0 -0
  179. package/src/compiler/.DS_Store +0 -0
  180. package/src/compiler/directives/bind.js +0 -11
  181. package/src/core/components/keep-alive.js +0 -124
  182. package/src/core/global-api/use.js +0 -23
  183. package/src/core/instance/inject.js +0 -73
  184. package/src/core/instance/render-helpers/render-slot.js +0 -38
  185. package/src/core/vdom/helpers/is-async-placeholder.js +0 -5
  186. package/src/core/vdom/helpers/update-listeners.js +0 -95
  187. package/src/core/vdom/modules/index.js +0 -7
  188. package/src/core/vdom/modules/ref.js +0 -45
  189. package/src/platforms/.DS_Store +0 -0
  190. package/src/platforms/web/compiler/directives/html.js +0 -9
  191. package/src/platforms/web/entry-server-basic-renderer.js +0 -13
  192. package/src/platforms/web/entry-server-renderer.js +0 -27
  193. package/src/platforms/web/runtime/node-ops.js +0 -59
  194. package/src/platforms/web/server/compiler.js +0 -11
  195. package/src/platforms/web/server/directives/index.js +0 -7
  196. package/src/platforms/web/server/directives/model.js +0 -44
  197. package/src/platforms/web/server/directives/show.js +0 -12
  198. package/src/platforms/web/server/modules/attrs.js +0 -63
  199. package/src/platforms/web/server/modules/class.js +0 -11
  200. package/src/platforms/web/server/modules/dom-props.js +0 -50
  201. package/src/platforms/web/server/modules/index.js +0 -11
  202. package/src/platforms/web/server/modules/style.js +0 -41
  203. package/src/platforms/web/server/util.js +0 -101
  204. package/src/platforms/weex/.DS_Store +0 -0
  205. package/src/platforms/weex/compiler/.DS_Store +0 -0
  206. package/src/platforms/weex/compiler/directives/index.js +0 -5
  207. package/src/platforms/weex/compiler/directives/model.js +0 -33
  208. package/src/platforms/weex/compiler/index.js +0 -52
  209. package/src/platforms/weex/compiler/modules/append.js +0 -27
  210. package/src/platforms/weex/compiler/modules/class.js +0 -74
  211. package/src/platforms/weex/compiler/modules/index.js +0 -13
  212. package/src/platforms/weex/compiler/modules/props.js +0 -37
  213. package/src/platforms/weex/compiler/modules/recycle-list/component-root.js +0 -13
  214. package/src/platforms/weex/compiler/modules/recycle-list/component.js +0 -16
  215. package/src/platforms/weex/compiler/modules/recycle-list/index.js +0 -60
  216. package/src/platforms/weex/compiler/modules/recycle-list/recycle-list.js +0 -50
  217. package/src/platforms/weex/compiler/modules/recycle-list/text.js +0 -23
  218. package/src/platforms/weex/compiler/modules/recycle-list/v-bind.js +0 -21
  219. package/src/platforms/weex/compiler/modules/recycle-list/v-for.js +0 -33
  220. package/src/platforms/weex/compiler/modules/recycle-list/v-if.js +0 -63
  221. package/src/platforms/weex/compiler/modules/recycle-list/v-on.js +0 -25
  222. package/src/platforms/weex/compiler/modules/recycle-list/v-once.js +0 -19
  223. package/src/platforms/weex/compiler/modules/style.js +0 -87
  224. package/src/platforms/weex/entry-compiler.js +0 -2
  225. package/src/platforms/weex/entry-framework.js +0 -187
  226. package/src/platforms/weex/entry-runtime-factory.js +0 -6
  227. package/src/platforms/weex/runtime/components/index.js +0 -9
  228. package/src/platforms/weex/runtime/components/richtext.js +0 -82
  229. package/src/platforms/weex/runtime/components/transition-group.js +0 -148
  230. package/src/platforms/weex/runtime/components/transition.js +0 -9
  231. package/src/platforms/weex/runtime/directives/index.js +0 -2
  232. package/src/platforms/weex/runtime/index.js +0 -42
  233. package/src/platforms/weex/runtime/modules/attrs.js +0 -44
  234. package/src/platforms/weex/runtime/modules/class.js +0 -76
  235. package/src/platforms/weex/runtime/modules/events.js +0 -54
  236. package/src/platforms/weex/runtime/modules/index.js +0 -13
  237. package/src/platforms/weex/runtime/modules/style.js +0 -84
  238. package/src/platforms/weex/runtime/modules/transition.js +0 -270
  239. package/src/platforms/weex/runtime/node-ops.js +0 -91
  240. package/src/platforms/weex/runtime/patch.js +0 -16
  241. package/src/platforms/weex/runtime/recycle-list/render-component-template.js +0 -34
  242. package/src/platforms/weex/runtime/recycle-list/virtual-component.js +0 -136
  243. package/src/platforms/weex/runtime/text-node.js +0 -9
  244. package/src/platforms/weex/util/element.js +0 -52
  245. package/src/platforms/weex/util/index.js +0 -40
  246. package/src/platforms/weex/util/parser.js +0 -60
  247. package/src/server/bundle-renderer/create-bundle-renderer.js +0 -151
  248. package/src/server/bundle-renderer/create-bundle-runner.js +0 -150
  249. package/src/server/bundle-renderer/source-map-support.js +0 -45
  250. package/src/server/create-basic-renderer.js +0 -37
  251. package/src/server/create-renderer.js +0 -152
  252. package/src/server/optimizing-compiler/codegen.js +0 -264
  253. package/src/server/optimizing-compiler/index.js +0 -20
  254. package/src/server/optimizing-compiler/modules.js +0 -124
  255. package/src/server/optimizing-compiler/optimizer.js +0 -141
  256. package/src/server/optimizing-compiler/runtime-helpers.js +0 -150
  257. package/src/server/render-context.js +0 -130
  258. package/src/server/render-stream.js +0 -95
  259. package/src/server/render.js +0 -437
  260. package/src/server/template-renderer/create-async-file-mapper.js +0 -53
  261. package/src/server/template-renderer/index.js +0 -277
  262. package/src/server/template-renderer/parse-template.js +0 -42
  263. package/src/server/template-renderer/template-stream.js +0 -82
  264. package/src/server/util.js +0 -18
  265. package/src/server/webpack-plugin/client.js +0 -65
  266. package/src/server/webpack-plugin/server.js +0 -66
  267. package/src/server/webpack-plugin/util.js +0 -34
  268. package/src/server/write.js +0 -50
package/README.md CHANGED
@@ -7,222 +7,21 @@
7
7
  <a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/v/vue.svg?sanitize=true" alt="Version"></a>
8
8
  <a href="https://www.npmjs.com/package/vue"><img src="https://img.shields.io/npm/l/vue.svg?sanitize=true" alt="License"></a>
9
9
  <a href="https://chat.vuejs.org/"><img src="https://img.shields.io/badge/chat-on%20discord-7289da.svg?sanitize=true" alt="Chat"></a>
10
- <br>
11
- <a href="https://app.saucelabs.com/builds/50f8372d79f743a3b25fb6ca4851ca4c"><img src="https://app.saucelabs.com/buildstatus/vuejs" alt="Build Status"></a>
12
10
  </p>
13
11
 
14
- <h2 align="center">Supporting Vue.js</h2>
12
+ ## This repo is for Vue 2
15
13
 
16
- Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/vue/blob/dev/BACKERS.md). If you'd like to join them, please consider:
14
+ You are looking at the repository for Vue 2. The repo for Vue 3 is [vuejs/core](https://github.com/vuejs/core).
17
15
 
18
- - [Become a backer or sponsor on Patreon](https://www.patreon.com/evanyou).
19
- - [Become a backer or sponsor on Open Collective](https://opencollective.com/vuejs).
20
- - [One-time donation via PayPal or crypto-currencies.](https://vuejs.org/support-vuejs/#One-time-Donations)
16
+ ## Sponsors
21
17
 
22
- #### What's the difference between Patreon and OpenCollective?
23
-
24
- Funds donated via Patreon go directly to support Evan You's full-time work on Vue.js. Funds donated via OpenCollective are managed with transparent expenses and will be used for compensating work and expenses for core team members or sponsoring community events. Your name/logo will receive proper recognition and exposure by donating on either platform.
25
-
26
- <h3 align="center">Special Sponsors</h3>
27
- <!--special start-->
18
+ Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsor Vue's development](https://vuejs.org/sponsor/).
28
19
 
29
20
  <p align="center">
30
- <a href="https://autocode.com/" target="_blank">
31
- <img width="260px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/autocode.svg?sanitize=true">
21
+ <a target="_blank" href="https://vuejs.org/sponsor/">
22
+ <img alt="sponsors" src="https://sponsors.vuejs.org/sponsors.svg">
32
23
  </a>
33
24
  </p>
34
-
35
- <!--special end-->
36
-
37
- <h3 align="center">Platinum Sponsors</h3>
38
-
39
- <!--platinum start-->
40
- <table>
41
- <tbody>
42
- <tr>
43
- <td align="center" valign="middle">
44
- <a href="https://vueschool.io/?utm_source=Vuejs.org&utm_medium=Banner&utm_campaign=Sponsored%20Banner&utm_content=V1" target="_blank">
45
- <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vueschool.png">
46
- </a>
47
- </td>
48
- <td align="center" valign="middle">
49
- <a href="https://vehikl.com/" target="_blank">
50
- <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vehikl.png">
51
- </a>
52
- </td>
53
- <td align="center" valign="middle">
54
- <a href="https://retool.com/?utm_source=sponsor&utm_campaign=vue" target="_blank">
55
- <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/retool.png">
56
- </a>
57
- </td>
58
- <td align="center" valign="middle">
59
- <a href="https://passionatepeople.io/" target="_blank">
60
- <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/passionate_people.png">
61
- </a>
62
- </td>
63
- </tr><tr></tr>
64
- <tr>
65
- <td align="center" valign="middle">
66
- <a href="https://www.storyblok.com" target="_blank">
67
- <img width="222px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/storyblok.png">
68
- </a>
69
- </td>
70
- </tr><tr></tr>
71
- </tbody>
72
- </table>
73
- <!--platinum end-->
74
-
75
- <!--special-china start-->
76
- <h3 align="center">Platinum Sponsors (China)</h3>
77
- <table>
78
- <tbody>
79
- <tr>
80
- <td align="center" valign="middle">
81
- <a href="http://www.dcloud.io/?hmsr=vuejsorg&hmpl=&hmcu=&hmkw=&hmci=" target="_blank">
82
- <img width="177px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/dcloud.gif">
83
- </a>
84
- </td>
85
- </tr><tr></tr>
86
- </tbody>
87
- </table>
88
- <!--special-china end-->
89
-
90
- <h3 align="center">Gold Sponsors</h3>
91
-
92
- <!--gold start-->
93
- <table>
94
- <tbody>
95
- <tr>
96
- <td align="center" valign="middle">
97
- <a href="https://www.vuemastery.com/" target="_blank">
98
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vuemastery.png">
99
- </a>
100
- </td>
101
- <td align="center" valign="middle">
102
- <a href="https://laravel.com" target="_blank">
103
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/laravel.png">
104
- </a>
105
- </td>
106
- <td align="center" valign="middle">
107
- <a href="https://htmlburger.com" target="_blank">
108
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/html_burger.png">
109
- </a>
110
- </td>
111
- <td align="center" valign="middle">
112
- <a href="https://www.frontenddeveloperlove.com/" target="_blank">
113
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/frontendlove.png">
114
- </a>
115
- </td>
116
- <td align="center" valign="middle">
117
- <a href="https://onsen.io/vue/" target="_blank">
118
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/onsen_ui.png">
119
- </a>
120
- </td>
121
- <td align="center" valign="middle">
122
- <a href="https://neds.com.au/" target="_blank">
123
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/neds.png">
124
- </a>
125
- </td>
126
- </tr><tr></tr>
127
- <tr>
128
- <td align="center" valign="middle">
129
- <a href="https://vuejobs.com/?ref=vuejs" target="_blank">
130
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vuejobs.png">
131
- </a>
132
- </td>
133
- <td align="center" valign="middle">
134
- <a href="https://tidelift.com/subscription/npm/vue" target="_blank">
135
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/tidelift.png">
136
- </a>
137
- </td>
138
- <td align="center" valign="middle">
139
- <a href="https://www.firesticktricks.com/" target="_blank">
140
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/firestick_tricks.png">
141
- </a>
142
- </td>
143
- <td align="center" valign="middle">
144
- <a href="https://intygrate.com/" target="_blank">
145
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/intygrate.png">
146
- </a>
147
- </td>
148
- <td align="center" valign="middle">
149
- <a href="http://en.shopware.com/" target="_blank">
150
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/shopware_ag.png">
151
- </a>
152
- </td>
153
- <td align="center" valign="middle">
154
- <a href="https://www.vpnranks.com/" target="_blank">
155
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/vpnranks.png">
156
- </a>
157
- </td>
158
- </tr><tr></tr>
159
- <tr>
160
- <td align="center" valign="middle">
161
- <a href="https://www.bacancytechnology.com/hire-vuejs-developer" target="_blank">
162
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bacancy_technology.png">
163
- </a>
164
- </td>
165
- <td align="center" valign="middle">
166
- <a href="https://www.bestvpn.co/" target="_blank">
167
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/bestvpn_co.png">
168
- </a>
169
- </td>
170
- <td align="center" valign="middle">
171
- <a href="https://www.y8.com/" target="_blank">
172
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/y8.png">
173
- </a>
174
- </td>
175
- <td align="center" valign="middle">
176
- <a href="https://js.devexpress.com/" target="_blank">
177
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/devexpress.png">
178
- </a>
179
- </td>
180
- <td align="center" valign="middle">
181
- <a href="https://fastcoding.jp/javascript/ " target="_blank">
182
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/fastcoding_inc.svg?sanitize=true">
183
- </a>
184
- </td>
185
- <td align="center" valign="middle">
186
- <a href="https://usave.co.uk/utilities/broadband" target="_blank">
187
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/usave.png">
188
- </a>
189
- </td>
190
- </tr><tr></tr>
191
- <tr>
192
- <td align="center" valign="middle">
193
- <a href="https://www.foo.software" target="_blank">
194
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/foo.png">
195
- </a>
196
- </td>
197
- <td align="center" valign="middle">
198
- <a href="https://flatlogic.com/templates" target="_blank">
199
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/flatlogic_templates.svg?sanitize=true">
200
- </a>
201
- </td>
202
- <td align="center" valign="middle">
203
- <a href="http://moovweb.com/" target="_blank">
204
- <img width="148px" src="https://raw.githubusercontent.com/vuejs/vuejs.org/master/themes/vue/source/images/moovweb.png">
205
- </a>
206
- </td>
207
- </tr><tr></tr>
208
- </tbody>
209
- </table>
210
- <!--gold end-->
211
-
212
- <h3 align="center">Sponsors via <a href="https://opencollective.com/vuejs">Open Collective</a></h3>
213
-
214
- <h4 align="center">Platinum</h4>
215
-
216
- <a href="https://opencollective.com/vuejs/tiers/platinum-sponsors/0/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/platinum-sponsors/0/avatar.svg?sanitize=true"></a>
217
- <a href="https://opencollective.com/vuejs/tiers/platinum-sponsors/1/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/platinum-sponsors/1/avatar.svg?sanitize=true"></a>
218
-
219
- <h4 align="center">Gold</h4>
220
-
221
- <a href="https://opencollective.com/vuejs/tiers/gold-sponsors/0/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/gold-sponsors/0/avatar.svg?sanitize=true" height="60px"></a>
222
- <a href="https://opencollective.com/vuejs/tiers/gold-sponsors/1/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/gold-sponsors/1/avatar.svg?sanitize=true" height="60px"></a>
223
- <a href="https://opencollective.com/vuejs/tiers/gold-sponsors/2/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/gold-sponsors/2/avatar.svg?sanitize=true" height="60px"></a>
224
- <a href="https://opencollective.com/vuejs/tiers/gold-sponsors/3/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/gold-sponsors/3/avatar.svg?sanitize=true" height="60px"></a>
225
- <a href="https://opencollective.com/vuejs/tiers/gold-sponsors/4/website" target="_blank" rel="noopener noreferrer"><img src="https://opencollective.com/vuejs/tiers/gold-sponsors/4/avatar.svg?sanitize=true" height="60px"></a>
226
25
 
227
26
  ---
228
27
 
@@ -232,20 +31,20 @@ Vue (pronounced `/vjuː/`, like view) is a **progressive framework** for buildin
232
31
 
233
32
  #### Browser Compatibility
234
33
 
235
- Vue.js supports all browsers that are [ES5-compliant](http://kangax.github.io/compat-table/es5/) (IE8 and below are not supported).
34
+ Vue.js supports all browsers that are [ES5-compliant](https://kangax.github.io/compat-table/es5/) (IE8 and below are not supported).
236
35
 
237
36
  ## Ecosystem
238
37
 
239
- | Project | Status | Description |
240
- |---------|--------|-------------|
241
- | [vue-router] | [![vue-router-status]][vue-router-package] | Single-page application routing |
242
- | [vuex] | [![vuex-status]][vuex-package] | Large-scale state management |
243
- | [vue-cli] | [![vue-cli-status]][vue-cli-package] | Project scaffolding |
244
- | [vue-loader] | [![vue-loader-status]][vue-loader-package] | Single File Component (`*.vue` file) loader for webpack |
245
- | [vue-server-renderer] | [![vue-server-renderer-status]][vue-server-renderer-package] | Server-side rendering support |
246
- | [vue-class-component] | [![vue-class-component-status]][vue-class-component-package] | TypeScript decorator for a class-based API |
247
- | [vue-rx] | [![vue-rx-status]][vue-rx-package] | RxJS integration |
248
- | [vue-devtools] | [![vue-devtools-status]][vue-devtools-package] | Browser DevTools extension |
38
+ | Project | Status | Description |
39
+ | --------------------- | ------------------------------------------------------------ | ------------------------------------------------------- |
40
+ | [vue-router] | [![vue-router-status]][vue-router-package] | Single-page application routing |
41
+ | [vuex] | [![vuex-status]][vuex-package] | Large-scale state management |
42
+ | [vue-cli] | [![vue-cli-status]][vue-cli-package] | Project scaffolding |
43
+ | [vue-loader] | [![vue-loader-status]][vue-loader-package] | Single File Component (`*.vue` file) loader for webpack |
44
+ | [vue-server-renderer] | [![vue-server-renderer-status]][vue-server-renderer-package] | Server-side rendering support |
45
+ | [vue-class-component] | [![vue-class-component-status]][vue-class-component-package] | TypeScript decorator for a class-based API |
46
+ | [vue-rx] | [![vue-rx-status]][vue-rx-package] | RxJS integration |
47
+ | [vue-devtools] | [![vue-devtools-status]][vue-devtools-package] | Browser DevTools extension |
249
48
 
250
49
  [vue-router]: https://github.com/vuejs/vue-router
251
50
  [vuex]: https://github.com/vuejs/vuex
@@ -254,8 +53,7 @@ Vue.js supports all browsers that are [ES5-compliant](http://kangax.github.io/co
254
53
  [vue-server-renderer]: https://github.com/vuejs/vue/tree/dev/packages/vue-server-renderer
255
54
  [vue-class-component]: https://github.com/vuejs/vue-class-component
256
55
  [vue-rx]: https://github.com/vuejs/vue-rx
257
- [vue-devtools]: https://github.com/vuejs/vue-devtools
258
-
56
+ [vue-devtools]: https://github.com/vuejs/vue-devtools
259
57
  [vue-router-status]: https://img.shields.io/npm/v/vue-router.svg
260
58
  [vuex-status]: https://img.shields.io/npm/v/vuex.svg
261
59
  [vue-cli-status]: https://img.shields.io/npm/v/@vue/cli.svg
@@ -264,7 +62,6 @@ Vue.js supports all browsers that are [ES5-compliant](http://kangax.github.io/co
264
62
  [vue-class-component-status]: https://img.shields.io/npm/v/vue-class-component.svg
265
63
  [vue-rx-status]: https://img.shields.io/npm/v/vue-rx.svg
266
64
  [vue-devtools-status]: https://img.shields.io/chrome-web-store/v/nhdogjmejiglipccpnnnanhbledajbpd.svg
267
-
268
65
  [vue-router-package]: https://npmjs.com/package/vue-router
269
66
  [vuex-package]: https://npmjs.com/package/vuex
270
67
  [vue-cli-package]: https://npmjs.com/package/@vue/cli
@@ -280,7 +77,7 @@ To check out [live examples](https://vuejs.org/v2/examples/) and docs, visit [vu
280
77
 
281
78
  ## Questions
282
79
 
283
- For questions and support please use [the official forum](http://forum.vuejs.org) or [community chat](https://chat.vuejs.org/). The issue list of this repo is **exclusively** for bug reports and feature requests.
80
+ For questions and support please use [the official forum](https://forum.vuejs.org) or [community chat](https://chat.vuejs.org/). The issue list of this repo is **exclusively** for bug reports and feature requests.
284
81
 
285
82
  ## Issues
286
83
 
@@ -304,9 +101,8 @@ Thank you to all the people who already contributed to Vue!
304
101
 
305
102
  <a href="https://github.com/vuejs/vue/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>
306
103
 
307
-
308
104
  ## License
309
105
 
310
- [MIT](http://opensource.org/licenses/MIT)
106
+ [MIT](https://opensource.org/licenses/MIT)
311
107
 
312
108
  Copyright (c) 2013-present, Yuxi (Evan) You
@@ -0,0 +1 @@
1
+ export * from '@vue/compiler-sfc'
@@ -0,0 +1 @@
1
+ module.exports = require('@vue/compiler-sfc')
@@ -0,0 +1,4 @@
1
+ {
2
+ "main": "index.js",
3
+ "types": "index.d.ts"
4
+ }