Home / File/ plugin-test.ts — vue Source File

plugin-test.ts — vue Source File

Architecture documentation for plugin-test.ts, a typescript file in the vue codebase. 1 imports, 0 dependents.

File typescript VueCore GlobalAPI 1 imports 2 functions 1 classes

Entity Profile

Dependency Diagram

graph LR
  06c0cc40_07e7_0a95_4779_e9d44f11d543["plugin-test.ts"]
  451106ad_39e7_1c30_4a13_bb292ee7299e["./index"]
  06c0cc40_07e7_0a95_4779_e9d44f11d543 --> 451106ad_39e7_1c30_4a13_bb292ee7299e
  style 06c0cc40_07e7_0a95_4779_e9d44f11d543 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import Vue from '../index'
import { PluginFunction, PluginObject } from '../index'

class Option {
  prefix: string = ''
  suffix: string = ''
}

const plugin: PluginObject<Option> = {
  install(Vue, option) {
    if (typeof option !== 'undefined') {
      const { prefix, suffix } = option
    }
  }
}
const installer: PluginFunction<Option> = function (Vue, option) {}

Vue.use(plugin, new Option())
Vue.use(installer, new Option())
Vue.use(installer, new Option(), new Option(), new Option())

Domain

Subdomains

Classes

Dependencies

  • ./index

Frequently Asked Questions

What does plugin-test.ts do?
plugin-test.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, GlobalAPI subdomain.
What functions are defined in plugin-test.ts?
plugin-test.ts defines 2 function(s): installer, plugin.install.
What does plugin-test.ts depend on?
plugin-test.ts imports 1 module(s): ./index.
Where is plugin-test.ts in the architecture?
plugin-test.ts is located at types/test/plugin-test.ts (domain: VueCore, subdomain: GlobalAPI, directory: types/test).

Analyze Your Own Codebase

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

Try Supermodel Free