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 Dec 2, 2024
1 parent 8de4ab9 commit bb9f27d
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
@@ -10,6 +10,7 @@

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro">
<link rel="stylesheet" href="../styles/main.css">
<script type="module" src="../uswds.js"></script>
<script type="module" src="../components/card.js"></script>
<script type="module" src="../components/modal.js"></script>
</head>
@@ -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.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@uswds/web-components';

0 comments on commit bb9f27d

Please sign in to comment.