Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USWDS example
Browse files Browse the repository at this point in the history
thescientist13 committed Jan 18, 2025
1 parent a636204 commit 73d4830
Showing 4 changed files with 265 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@
"start": "pnpm run serve"
},
"dependencies": {
"@uswds/web-components": "^0.0.1-alpha",
"lit": "^3.2.1"
},
"devDependencies": {
261 changes: 261 additions & 0 deletions pnpm-lock.yaml
2 changes: 2 additions & 0 deletions src/layouts/app.html
Original file line number Diff line number Diff line change
@@ -12,6 +12,7 @@
<link rel="stylesheet" href="../styles/main.css">
<script type="module" src="../components/card.ts"></script>
<script type="module" src="../components/modal.ts"></script>
<script type="module" src="../uswds.ts"></script>
</head>

<body>
@@ -23,6 +24,7 @@
<li><a href="/search/">Search</a></li>
</ul>
</nav>
<usa-banner data-testid="banner"></usa-banner>
</header>

<main>
1 change: 1 addition & 0 deletions src/uswds.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@uswds/web-components';

0 comments on commit 73d4830

Please sign in to comment.