Home / File/ index.html — vite Source File

index.html — vite Source File

Architecture documentation for index.html, a html file in the vite codebase.

Entity Profile

Source Code

<h1>Import assertion</h1>

<h2>From source code</h2>
<p class="src"></p>

<h2>From dependency</h2>
<p class="dep"></p>

<script type="module">
  import * as data from './data.json' assert { type: 'json' }
  text('.src', data.foo)

  import * as depData from '@vitejs/test-import-assertion-dep'
  text('.dep', depData.hello)

  function text(el, text) {
    document.querySelector(el).textContent = text
  }
</script>

Frequently Asked Questions

What does index.html do?
index.html is a source file in the vite codebase, written in html.
Where is index.html in the architecture?
index.html is located at playground/import-assertion/index.html (directory: playground/import-assertion).

Analyze Your Own Codebase

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

Try Supermodel Free