vue (main) doxdox documentation

This is the repo for Vue 2. For Vue 3, go to

# MemoryStats()

# Vue()

Actual demo

# isReferenced()

Copied from To avoid runtime dependency on @babel/types (which includes process references) This file should not change very often in babel but we may need to keep it up-to-date from time to time.

# analyzeScriptBindings()

Analyze bindings in normal <script> Note that compileScriptSetup already analyzes bindings as part of its compilation process so this should only be used on single <script> SFCs.

# compileScript()

Compile <script setup> It requires the whole SFC descriptor because we need to handle and merge normal <script> + <script setup> if both are present.

# hasStaticWithDefaults()

check defaults. If the default object is an object literal with only static properties, we can directly generate more optimized default declarations. Otherwise we will have to fallback to runtime merging.

# hmrShouldReload()

Note: this comparison assumes the prev/next script are already identical, and only checks the special case where

Documentation generated with doxdox and

Generated on Tue Mar 28 2023 21:07:58 GMT+0000 (Coordinated Universal Time)