Home / File/ async-foo.js — vue Source File

async-foo.js — vue Source File

Architecture documentation for async-foo.js, a javascript file in the vue codebase. 3 imports, 0 dependents.

File javascript CompilerSFC ScriptAnalyzer 3 imports 2 functions

Entity Profile

Dependency Diagram

graph LR
  49bc3629_bf58_0abf_8e51_8b54e0944af9["async-foo.js"]
  125dc537_a02a_e1fa_76b4_7534b16aa7a7["test.css"]
  49bc3629_bf58_0abf_8e51_8b54e0944af9 --> 125dc537_a02a_e1fa_76b4_7534b16aa7a7
  b7da2d58_cd60_ec7c_6a38_997eb8b4ff8d["./test.woff2"]
  49bc3629_bf58_0abf_8e51_8b54e0944af9 --> b7da2d58_cd60_ec7c_6a38_997eb8b4ff8d
  5c5a5095_4194_2a6e_4427_97b1141b934a["./test.png"]
  49bc3629_bf58_0abf_8e51_8b54e0944af9 --> 5c5a5095_4194_2a6e_4427_97b1141b934a
  style 49bc3629_bf58_0abf_8e51_8b54e0944af9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// import image and font
import './test.css'
import font from './test.woff2'
import image from './test.png'

export default {
  beforeCreate() {
    this.$vnode.ssrContext._registeredComponents.add('__MODULE_ID__')
  },
  render(h) {
    return h('div', `async ${font} ${image}`)
  }
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

What does async-foo.js do?
async-foo.js is a source file in the vue codebase, written in javascript. It belongs to the CompilerSFC domain, ScriptAnalyzer subdomain.
What functions are defined in async-foo.js?
async-foo.js defines 2 function(s): default.beforeCreate, default.render.
What does async-foo.js depend on?
async-foo.js imports 3 module(s): ./test.png, ./test.woff2, test.css.
Where is async-foo.js in the architecture?
async-foo.js is located at packages/server-renderer/test/fixtures/async-foo.js (domain: CompilerSFC, subdomain: ScriptAnalyzer, directory: packages/server-renderer/test/fixtures).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free