Home / File/ main.ts — vite Source File

main.ts — vite Source File

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

Entity Profile

Dependency Diagram

graph LR
  c5f7f8d7_af34_f7d7_db28_43c8b91ac13e["main.ts"]
  5e67f7b3_d323_66c0_2d3e_7084edfa7eac["app.css"]
  c5f7f8d7_af34_f7d7_db28_43c8b91ac13e --> 5e67f7b3_d323_66c0_2d3e_7084edfa7eac
  35bf8294_a980_439d_1870_2440815e150a["./App.svelte"]
  c5f7f8d7_af34_f7d7_db28_43c8b91ac13e --> 35bf8294_a980_439d_1870_2440815e150a
  7f0bb982_12c5_8a4f_2f2c_502a2db8ee0b["svelte"]
  c5f7f8d7_af34_f7d7_db28_43c8b91ac13e --> 7f0bb982_12c5_8a4f_2f2c_502a2db8ee0b
  style c5f7f8d7_af34_f7d7_db28_43c8b91ac13e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { mount } from 'svelte'
import './app.css'
import App from './App.svelte'

const app = mount(App, {
  target: document.getElementById('app')!,
})

export default app

Dependencies

Frequently Asked Questions

What does main.ts do?
main.ts is a source file in the vite codebase, written in typescript. It belongs to the ProjectScaffolder domain.
What does main.ts depend on?
main.ts imports 3 module(s): ./App.svelte, app.css, svelte.
Where is main.ts in the architecture?
main.ts is located at packages/create-vite/template-svelte-ts/src/main.ts (domain: ProjectScaffolder, directory: packages/create-vite/template-svelte-ts/src).

Analyze Your Own Codebase

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

Try Supermodel Free