3.2024.0-2b0def3 • Published 1 day ago

@vue-vapor/vue v3.2024.0-2b0def3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

vue

Which dist file to use?

From CDN or without a Bundler

  • vue(.runtime).global(.prod).js:

    • For direct use via <script src="..."> in the browser. Exposes the Vue global.
    • Note that global builds are not UMD builds. They are built as IIFEs and is only meant for direct use via <script src="...">.
    • In-browser template compilation:
      • vue.global.js is the "full" build that includes both the compiler and the runtime so it supports compiling templates on the fly.
      • vue.runtime.global.js contains only the runtime and requires templates to be pre-compiled during a build step.
    • Inlines all Vue core internal packages - i.e. it's a single file with no dependencies on other files. This means you must import everything from this file and this file only to ensure you are getting the same instance of code.
    • Contains hard-coded prod/dev branches, and the prod build is pre-minified. Use the *.prod.js files for production.
  • vue(.runtime).esm-browser(.prod).js:

    • For usage via native ES modules imports (in browser via <script type="module">.
    • Shares the same runtime compilation, dependency inlining and hard-coded prod/dev behavior with the global build.

With a Bundler

  • vue(.runtime).esm-bundler.js:

    • For use with bundlers like webpack, rollup and parcel.
    • Leaves prod/dev branches with process.env.NODE_ENV guards (must be replaced by bundler)
    • Does not ship minified builds (to be done together with the rest of the code after bundling)
    • Imports dependencies (e.g. @vue/runtime-core, @vue/runtime-compiler)
      • Imported dependencies are also esm-bundler builds and will in turn import their dependencies (e.g. @vue/runtime-core imports @vue/reactivity)
      • This means you can install/import these deps individually without ending up with different instances of these dependencies, but you must make sure they all resolve to the same version.
    • In-browser template compilation:
      • vue.runtime.esm-bundler.js (default) is runtime only, and requires all templates to be pre-compiled. This is the default entry for bundlers (via module field in package.json) because when using a bundler templates are typically pre-compiled (e.g. in *.vue files).
      • vue.esm-bundler.js: includes the runtime compiler. Use this if you are using a bundler but still want runtime template compilation (e.g. in-DOM templates or templates via inline JavaScript strings). You will need to configure your bundler to alias vue to this file.

Bundler Build Feature Flags

Detailed Reference on vuejs.org

esm-bundler builds of Vue expose global feature flags that can be overwritten at compile time:

  • __VUE_OPTIONS_API__

    • Default: true
    • Enable / disable Options API support
  • __VUE_PROD_DEVTOOLS__

    • Default: false
    • Enable / disable devtools support in production
  • __VUE_PROD_HYDRATION_MISMATCH_DETAILS__

    • Default: false
    • Enable / disable detailed warnings for hydration mismatches in production

The build will work without configuring these flags, however it is strongly recommended to properly configure them in order to get proper tree-shaking in the final bundle.

For Server-Side Rendering

  • vue.cjs(.prod).js:
    • For use in Node.js server-side rendering via require().
    • If you bundle your app with webpack with target: 'node' and properly externalize vue, this is the build that will be loaded.
    • The dev/prod files are pre-built, but the appropriate file is automatically required based on process.env.NODE_ENV.
3.2024.0-3ca2f21

10 days ago

3.2024.0-4baeb26

10 days ago

3.2024.0-63a2cd8

10 days ago

3.2024.0-2072ae2

12 days ago

3.2024.0-d6c5bcf

12 days ago

3.2024.0-e67e643

13 days ago

3.2024.0-7cad1d6

13 days ago

3.2024.0-d490bf2

13 days ago

3.2024.0-4352137

13 days ago

3.2024.0-4b5bd5b

13 days ago

3.2024.0-a2d0d4d

13 days ago

3.2024.0-f183394

13 days ago

3.2024.0-d286eed

13 days ago

3.2024.0-0013e82

14 days ago

3.2024.0-b9b3e02

14 days ago

3.2024.0-37df043

14 days ago

3.2024.0-1f28ae1

14 days ago

3.2024.0-2fa93ac

14 days ago

3.2024.0-c5fdd37

14 days ago

3.2024.0-1af1f40

16 days ago

3.2024.0-7548865

15 days ago

3.2024.0-af1581b

15 days ago

3.2024.0-66fc3b2

15 days ago

3.2024.0-a68445b

16 days ago

3.2024.0-761f785

16 days ago

3.2024.0-5a599d6

18 days ago

3.2024.0-b447ace

17 days ago

3.2024.0-e640ec6

17 days ago

3.2024.0-b6bde54

18 days ago

3.2024.0-9e0cd20

19 days ago

3.2024.0-a49b6f9

19 days ago

3.2024.0-bdc4322

19 days ago

3.2024.0-22c0538

19 days ago

3.2024.0-a0bd0e9

21 days ago

3.2024.0-38c9d9f

24 days ago

3.2024.0-b961c43

24 days ago

3.2024.0-17e46d4

24 days ago

3.2024.0-f75e834

24 days ago

3.2024.0-e760d68

25 days ago

3.2024.0-98bae0c

27 days ago

3.2024.0-9a33d79

27 days ago

3.2024.0-6c99c7a

27 days ago

3.2024.0-3aba5c9

27 days ago

3.2024.0-dccd6e3

27 days ago

3.2024.0-2e39f3e

27 days ago

3.2024.0-dd6a69b

27 days ago

3.2024.0-157de30

28 days ago

3.2024.0-bb8da6d

1 month ago

3.2024.0-92a4d56

1 month ago

3.2024.0-d6b652a

1 month ago

3.2024.0-db140a1

1 month ago

3.2024.0-339fced

1 month ago

3.2024.0-acc8324

1 month ago

3.2024.0-9f8bf4f

1 month ago

3.2024.0-486f2a8

1 month ago

3.2024.0-5a28a15

1 month ago

3.2024.0-9afaf0d

1 month ago

3.2024.0-100e3fd

1 month ago

3.2024.0-77d74f0

1 month ago

3.2024.0-ba17fb9

1 month ago

3.2024.0-cd8d756

1 month ago

3.2024.0-af516d0

1 month ago

3.2024.0-fe35414

1 month ago

3.2024.0-5b76208

1 month ago

3.2024.0-3992ba5

1 month ago

3.2024.0-08cc2bc

1 month ago

3.2024.0-f1f8b42

1 month ago

3.2024.0-38af9aa

1 month ago

3.2024.0-c633534

1 month ago

3.2024.0-35feb3c

1 month ago

3.2024.0-4d3a8e8

1 month ago

3.2024.0-05774e5

1 month ago

3.2024.0-cf18747

1 month ago

3.2024.0-ed6b171

1 month ago

3.2024.0-9a2c12e

1 month ago

3.2024.0-9dfc966

1 month ago

3.2024.0-5c9a151

1 month ago

3.2024.0-bd888b9

1 month ago

3.2024.0-339e674

1 month ago

3.2024.0-463ae38

1 month ago

3.2024.0-d8b6bcb

1 month ago

3.2024.0-c41eed2

1 month ago

3.2024.0-f3df266

1 month ago

3.2024.0-0169ec4

1 month ago

3.2024.0-ebde516

1 month ago

3.2024.0-31e19df

1 month ago

3.2024.0-b689fa6

1 month ago

3.2024.0-064e6d4

1 month ago

3.2024.0-6a7957d

2 months ago

3.2024.0-d12c2ac

2 months ago

3.2024.0-2de2c1d

2 months ago

3.2024.0-268a2c4

2 months ago

3.2024.0-64e8368

2 months ago

3.2024.0-34ca9f5

2 months ago

3.2024.0-38e167c

2 months ago

3.2024.0-6fc5cfb

2 months ago

3.2024.0-eb3d1fc

2 months ago

3.2024.0-5609644

2 months ago

3.2024.0-2661cb2

2 months ago

3.2024.0-9d03e6e

2 months ago

3.2024.0-12df345

2 months ago

3.2024.0-71c9d27

2 months ago

3.2024.0-fb8609d

2 months ago

3.2024.0-0159af9

2 months ago

3.2024.0-1e00d6c

2 months ago

3.2024.0-4676188

2 months ago

3.2024.0-5d15314

2 months ago

3.2024.0-2b3962f

2 months ago

3.2024.0-2ec05d8

2 months ago

3.2024.0-d282af9

2 months ago

3.2024.0-3e0d646

2 months ago

3.2024.0-fd2d9ff

2 months ago

3.2024.0-e967ed1

2 months ago

3.2024.0-83e4102

2 months ago

3.2024.0-463b47e

2 months ago

3.2024.0-808d17d

2 months ago

3.2024.0-c79629f

2 months ago

3.2024.0-7e0f15f

2 months ago

3.2024.0-421eba3

2 months ago

3.2024.0-6461c0f

2 months ago

3.2024.0-827fced

2 months ago

3.2024.0-b4da5a8

2 months ago

3.2024.0-b4aa5f9

2 months ago

3.2024.0-9412c20

2 months ago

3.2024.0-246badc

2 months ago

3.2024.0-280b8cb

2 months ago

3.2024.0-ebd3710

2 months ago

3.2024.0-b71cc27

2 months ago

3.2024.0-ccfecc9

2 months ago

3.2024.0-03d1d0a

2 months ago

3.2024.0-d20cf6d

2 months ago

3.2024.0-11b99ba

2 months ago

3.2024.0-d8880c8

2 months ago

3.2024.0-61ada62

2 months ago

3.2024.0-f4768bc

2 months ago

3.2024.0-d3ca3f7

2 months ago

3.2024.0-91997bb

2 months ago

3.2024.0-26ad63b

2 months ago

3.2024.0-b925c62

2 months ago

3.2024.0-ffb79a0

2 months ago

3.2024.0-ccd3f39

2 months ago

3.2024.0-5a0365d

2 months ago

3.2024.0-7f86144

2 months ago

3.2024.0-5a0bc11

2 months ago

3.2024.0-320e8f7

2 months ago

3.2024.0-76fbceb

2 months ago

3.2024.0-9cc0a2b

2 months ago

3.2024.0-4af8e87

2 months ago

3.2024.0-04fe609

2 months ago

3.2024.0-83641f7

2 months ago

3.2024.0-0e57653

2 months ago

3.2024.0-cb53a1e

2 months ago

3.2024.0-fac30af

2 months ago

3.2024.0-2c15171

2 months ago

3.2024.0-65909f6

2 months ago

3.2024.0-2075042

2 months ago

3.2024.0-d7bd6c9

2 months ago

3.2024.0-d9907ef

2 months ago

3.2024.0-ff943f4

2 months ago

3.2024.0-7072932

2 months ago

3.2024.0-0e0ee5b

2 months ago

3.2024.0-fb3e8ee

2 months ago

3.2024.0-d58497f

2 months ago

3.2024.0-4c9d891

2 months ago

3.2024.0-a87d212

2 months ago

3.2024.0-26f29b2

2 months ago

3.2024.0-e5c1f8d

2 months ago

3.2024.0-ddaf23e

2 months ago

3.2024.0-004edd3

2 months ago

3.2024.0-c1d9b64

2 months ago

3.2024.0-e91dde5

2 months ago

3.2024.0-c9db3fa

2 months ago

3.2024.0-669fec8

2 months ago

3.2024.0-5819dc9

2 months ago

3.2024.0-7aae631

2 months ago

3.2024.0-23653cc

2 months ago

3.2024.0-36b6e7e

2 months ago

3.2024.0-fa0ca8a

2 months ago

3.2024.0-531f4f0

2 months ago

3.2024.0-ba29b4c

2 months ago

3.2024.0-6ced902

2 months ago

3.2024.0-b11ecbd

2 months ago

3.2024.0-1710bfd

2 months ago

3.2024.0-3a6a1dd

2 months ago

3.2024.0-ea5c361

3 months ago

3.2024.0-6c25fb6

3 months ago

3.2024.0-7fd7742

3 months ago

3.2024.0-e10f7d1

3 months ago

3.2024.0-95b08e8

3 months ago

3.2024.0-66cea4b

3 months ago

3.2024.0-3d10925

3 months ago

3.2024.0-bf5f7c3

3 months ago

3.2024.0-f7080ef

3 months ago

3.2024.0-afa7ee2

3 months ago

3.20240210.0

3 months ago

3.2024.0-3550765

3 months ago

3.20240210.1

3 months ago

3.0.0-35f69d1

3 months ago

3.2024.1

3 months ago

3.2024.0

3 months ago

3.2024.0-9e029e8

3 months ago

3.2024.0-2486d99

3 months ago

3.2024.0-184d72e

3 months ago

3.2024.0-8bd92c9

3 months ago

3.2024.0-b5e12ea

3 months ago

3.20240209.0

3 months ago

0.20240209.3

3 months ago

0.20240209.2

3 months ago

0.20240209.1

3 months ago

0.20240209.0

3 months ago