Home / File/ app.jsx — vite Source File

app.jsx — vite Source File

Architecture documentation for app.jsx, a javascript file in the vite codebase. 5 imports, 1 dependents.

File javascript ProjectScaffolder TemplateEngine 5 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  785a7443_4b64_940e_f6ad_a85c05511727["app.jsx"]
  286e764f_9532_b1c3_e152_8cb9c09c7dbd["./assets/qwik.svg"]
  785a7443_4b64_940e_f6ad_a85c05511727 --> 286e764f_9532_b1c3_e152_8cb9c09c7dbd
  90a7e38d_833c_0508_c989_18e8e98e417f["./assets/vite.svg"]
  785a7443_4b64_940e_f6ad_a85c05511727 --> 90a7e38d_833c_0508_c989_18e8e98e417f
  44ffb67f_8d2f_d0f6_6053_a28fe331e931["./assets/hero.png"]
  785a7443_4b64_940e_f6ad_a85c05511727 --> 44ffb67f_8d2f_d0f6_6053_a28fe331e931
  c821b700_dc83_f286_6d88_1822e6c72ba8["app.css"]
  785a7443_4b64_940e_f6ad_a85c05511727 --> c821b700_dc83_f286_6d88_1822e6c72ba8
  95bda53e_fb4f_022c_a818_46cc94edca77["qwik"]
  785a7443_4b64_940e_f6ad_a85c05511727 --> 95bda53e_fb4f_022c_a818_46cc94edca77
  c2da9229_0eb1_35c4_6e2d_a6bd72109d4e["main.jsx"]
  c2da9229_0eb1_35c4_6e2d_a6bd72109d4e --> 785a7443_4b64_940e_f6ad_a85c05511727
  style 785a7443_4b64_940e_f6ad_a85c05511727 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { component$, useSignal } from '@builder.io/qwik'

import qwikLogo from './assets/qwik.svg'
import viteLogo from './assets/vite.svg'
import heroImg from './assets/hero.png'
import './app.css'

export const App = component$(() => {
  const count = useSignal(0)

  return (
    <>
      <section id="center">
        <div class="hero">
          <img src={heroImg} class="base" width="170" height="179" alt="" />
          <img src={qwikLogo} class="framework" alt="Qwik logo" />
          <img src={viteLogo} class="vite" alt="Vite logo" />
        </div>
        <div>
          <h1>Get started</h1>
          <p>
            Edit <code>src/app.jsx</code> and save to test <code>HMR</code>
          </p>
        </div>
        <button class="counter" onClick$={() => count.value++}>
          Count is {count.value}
        </button>
      </section>

      <div class="ticks"></div>

      <section id="next-steps">
        <div id="docs">
          <svg class="icon" role="presentation" aria-hidden="true">
            <use href="/icons.svg#documentation-icon"></use>
          </svg>
          <h2>Documentation</h2>
          <p>Your questions, answered</p>
          <ul>
            <li>
              <a href="https://vite.dev/" target="_blank">
                <img class="logo" src={viteLogo} alt="" />
                Explore Vite
              </a>
            </li>
            <li>
              <a href="https://qwik.dev/" target="_blank">
                <img class="button-icon" src={qwikLogo} alt="" />
                Learn more
              </a>
            </li>
          </ul>
        </div>
        <div id="social">
          <svg class="icon" role="presentation" aria-hidden="true">
            <use href="/icons.svg#social-icon"></use>
          </svg>
          <h2>Connect with us</h2>
          <p>Join the Vite community</p>
          <ul>
            <li>
              <a href="https://github.com/vitejs/vite" target="_blank">
                <svg class="button-icon" role="presentation" aria-hidden="true">
                  <use href="/icons.svg#github-icon"></use>
                </svg>
                GitHub
              </a>
            </li>
            <li>
              <a href="https://chat.vite.dev/" target="_blank">
                <svg class="button-icon" role="presentation" aria-hidden="true">
                  <use href="/icons.svg#discord-icon"></use>
                </svg>
                Discord
              </a>
            </li>
            <li>
              <a href="https://x.com/vite_js" target="_blank">
                <svg class="button-icon" role="presentation" aria-hidden="true">
                  <use href="/icons.svg#x-icon"></use>
                </svg>
                X.com
              </a>
            </li>
            <li>
              <a href="https://bsky.app/profile/vite.dev" target="_blank">
                <svg class="button-icon" role="presentation" aria-hidden="true">
                  <use href="/icons.svg#bluesky-icon"></use>
                </svg>
                Bluesky
              </a>
            </li>
          </ul>
        </div>
      </section>

      <div class="ticks"></div>
      <section id="spacer"></section>
    </>
  )
})

Subdomains

Functions

Dependencies

  • ./assets/hero.png
  • ./assets/qwik.svg
  • ./assets/vite.svg
  • app.css
  • qwik

Frequently Asked Questions

What does app.jsx do?
app.jsx is a source file in the vite codebase, written in javascript. It belongs to the ProjectScaffolder domain, TemplateEngine subdomain.
What functions are defined in app.jsx?
app.jsx defines 1 function(s): App.
What does app.jsx depend on?
app.jsx imports 5 module(s): ./assets/hero.png, ./assets/qwik.svg, ./assets/vite.svg, app.css, qwik.
What files import app.jsx?
app.jsx is imported by 1 file(s): main.jsx.
Where is app.jsx in the architecture?
app.jsx is located at packages/create-vite/template-qwik/src/app.jsx (domain: ProjectScaffolder, subdomain: TemplateEngine, directory: packages/create-vite/template-qwik/src).

Analyze Your Own Codebase

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

Try Supermodel Free