Home / File/ index.ts — vue Source File

index.ts — vue Source File

Architecture documentation for index.ts, a typescript file in the vue codebase. 0 imports, 3 dependents.

File typescript CompilerSFC 3 dependents

Entity Profile

Dependency Diagram

graph LR
  ff0056ca_ef4a_c90b_6818_0264c781fccd["index.ts"]
  f4ed901c_e7f6_857a_f801_613160290ece["cssVars.spec.ts"]
  f4ed901c_e7f6_857a_f801_613160290ece --> ff0056ca_ef4a_c90b_6818_0264c781fccd
  3b2edb5e_b79b_b8fa_ecee_784d8bda417f["rewriteDefault.spec.ts"]
  3b2edb5e_b79b_b8fa_ecee_784d8bda417f --> ff0056ca_ef4a_c90b_6818_0264c781fccd
  240d4660_83b3_21e3_5187_23f87cd014f3["util.ts"]
  240d4660_83b3_21e3_5187_23f87cd014f3 --> ff0056ca_ef4a_c90b_6818_0264c781fccd
  style ff0056ca_ef4a_c90b_6818_0264c781fccd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

// API
export { parse } from './parse'
export { compileTemplate } from './compileTemplate'
export { compileStyle, compileStyleAsync } from './compileStyle'
export { compileScript } from './compileScript'
export { generateCodeFrame } from 'compiler/codeframe'
export { rewriteDefault } from './rewriteDefault'

// For backwards compat only. Some existing tools like
// fork-ts-checker-webpack-plugin relies on its presence for differentiating
// between Vue 2 and Vue 3.
// ref #12719
// ref https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/765
export { parseComponent } from './parseComponent'

// types
export { SFCParseOptions } from './parse'
export { CompilerOptions, WarningMessage } from 'types/compiler'
export { TemplateCompiler } from './types'
export {
  SFCBlock,
  SFCCustomBlock,
  SFCScriptBlock,
  SFCDescriptor
} from './parseComponent'
export {
  SFCTemplateCompileOptions,
  SFCTemplateCompileResults
} from './compileTemplate'
export { SFCStyleCompileOptions, SFCStyleCompileResults } from './compileStyle'
export { SFCScriptCompileOptions } from './compileScript'

Domain

Frequently Asked Questions

What does index.ts do?
index.ts is a source file in the vue codebase, written in typescript. It belongs to the CompilerSFC domain.
What files import index.ts?
index.ts is imported by 3 file(s): cssVars.spec.ts, rewriteDefault.spec.ts, util.ts.
Where is index.ts in the architecture?
index.ts is located at packages/compiler-sfc/src/index.ts (domain: CompilerSFC, directory: packages/compiler-sfc/src).

Analyze Your Own Codebase

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

Try Supermodel Free