Skip to content

Commit d639b94

Browse files
committed
admin-playground: add admin-home-prototype (Vite + React + Polaris) with Home landing page and README
1 parent f0ef5b6 commit d639b94

File tree

13 files changed

+2217
-0
lines changed

13 files changed

+2217
-0
lines changed

admin-home-prototype/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
.DS_Store
4+
5+

admin-home-prototype/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Admin Home Prototype
2+
3+
A lightweight standalone prototype of the Shopify Admin “Home” page built with React, Vite, and Polaris.
4+
5+
## Prereqs
6+
- Node 18+ and npm
7+
8+
## Install & Run
9+
```bash
10+
npm install
11+
npm run dev
12+
```
13+
Then open the local URL shown in the terminal.
14+
15+
## Build
16+
```bash
17+
npm run build
18+
npm run preview
19+
```
20+
21+
## Notes
22+
- Polaris CSS and `en` i18n are imported in `src/main.tsx`.
23+
- The Home view is rendered by default on first load. Navigation and a minimal top bar are included to match the Admin framing.
24+
- This is a scaffold for rapid iteration; polish and data wiring can be added as needed.
25+
26+

admin-home-prototype/index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Admin Home Prototype</title>
7+
</head>
8+
<body>
9+
<div id="root"></div>
10+
<script type="module" src="/src/main.tsx"></script>
11+
</body>
12+
</html>
13+
14+

0 commit comments

Comments
 (0)