uniweb 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -26
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -47,6 +47,8 @@ pnpm create uniweb my-site --template docs
|
|
|
47
47
|
pnpm create uniweb my-site
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
+
**See them live:** [View all template demos](https://uniweb.github.io/templates/)
|
|
51
|
+
|
|
50
52
|
Every project is a workspace with two packages:
|
|
51
53
|
|
|
52
54
|
- **`site/`** — Content, pages, entry point
|
|
@@ -411,29 +413,21 @@ Use this when you need multiple sites sharing foundations, multiple foundations
|
|
|
411
413
|
|
|
412
414
|
## Official Templates
|
|
413
415
|
|
|
414
|
-
Feature-rich templates with real components and sample content.
|
|
416
|
+
Feature-rich templates with real components and sample content. **[View all demos](https://uniweb.github.io/templates/)**
|
|
415
417
|
|
|
416
418
|
### Marketing
|
|
417
419
|
|
|
418
|
-
|
|
419
|
-
pnpm create uniweb my-site --template marketing
|
|
420
|
-
```
|
|
420
|
+
[**Live Demo**](https://uniweb.github.io/templates/marketing/) · `pnpm create uniweb my-site --template marketing`
|
|
421
421
|
|
|
422
422
|
**Includes:** Hero, Features, Pricing, Testimonials, CTA, FAQ, Stats, LogoCloud, Video, Gallery, Team
|
|
423
423
|
|
|
424
424
|
Perfect for product launches, SaaS websites, and business landing pages.
|
|
425
425
|
|
|
426
|
-
**Tailwind v3 variant:**
|
|
427
|
-
|
|
428
|
-
```bash
|
|
429
|
-
pnpm create uniweb my-site --template marketing --variant tailwind3
|
|
430
|
-
```
|
|
426
|
+
**Tailwind v3 variant:** `--variant tailwind3`
|
|
431
427
|
|
|
432
428
|
### Academic
|
|
433
429
|
|
|
434
|
-
|
|
435
|
-
pnpm create uniweb my-site --template academic
|
|
436
|
-
```
|
|
430
|
+
[**Live Demo**](https://uniweb.github.io/templates/academic/) · `pnpm create uniweb my-site --template academic`
|
|
437
431
|
|
|
438
432
|
**Includes:** ProfileHero, PublicationList, ResearchAreas, TeamGrid, Timeline, ContactCard, Navbar, Footer
|
|
439
433
|
|
|
@@ -441,9 +435,7 @@ Perfect for researcher portfolios, lab websites, and academic department sites.
|
|
|
441
435
|
|
|
442
436
|
### Docs
|
|
443
437
|
|
|
444
|
-
|
|
445
|
-
pnpm create uniweb my-site --template docs
|
|
446
|
-
```
|
|
438
|
+
[**Live Demo**](https://uniweb.github.io/templates/docs/) · `pnpm create uniweb my-site --template docs`
|
|
447
439
|
|
|
448
440
|
**Includes:** Header, LeftPanel, DocSection, CodeBlock, Footer
|
|
449
441
|
|
|
@@ -451,9 +443,7 @@ Perfect for technical documentation, guides, and API references.
|
|
|
451
443
|
|
|
452
444
|
### International
|
|
453
445
|
|
|
454
|
-
|
|
455
|
-
pnpm create uniweb my-site --template international
|
|
456
|
-
```
|
|
446
|
+
[**Live Demo**](https://uniweb.github.io/templates/international/) · `pnpm create uniweb my-site --template international`
|
|
457
447
|
|
|
458
448
|
**Includes:** Hero, Features, Team, CTA, Header (with language switcher), Footer (with language links)
|
|
459
449
|
|
|
@@ -462,14 +452,9 @@ pnpm create uniweb my-site --template international
|
|
|
462
452
|
A multilingual business site demonstrating Uniweb's i18n capabilities. Includes pre-configured translation files and a complete localization workflow:
|
|
463
453
|
|
|
464
454
|
```bash
|
|
465
|
-
# Extract translatable strings
|
|
466
|
-
uniweb i18n
|
|
467
|
-
|
|
468
|
-
# Check translation coverage
|
|
469
|
-
uniweb i18n status
|
|
470
|
-
|
|
471
|
-
# Build generates locale-specific output (dist/es/, dist/fr/)
|
|
472
|
-
uniweb build
|
|
455
|
+
uniweb i18n extract # Extract translatable strings
|
|
456
|
+
uniweb i18n status # Check translation coverage
|
|
457
|
+
uniweb build # Generates dist/es/, dist/fr/
|
|
473
458
|
```
|
|
474
459
|
|
|
475
460
|
Perfect for international businesses and learning the i18n workflow.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "uniweb",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2",
|
|
4
4
|
"description": "Create structured Vite + React sites with content/code separation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"prompts": "^2.4.2",
|
|
39
39
|
"tar": "^7.0.0",
|
|
40
40
|
"@uniweb/build": "0.3.0",
|
|
41
|
-
"@uniweb/
|
|
42
|
-
"@uniweb/
|
|
43
|
-
"@uniweb/
|
|
41
|
+
"@uniweb/kit": "0.3.1",
|
|
42
|
+
"@uniweb/core": "0.2.4",
|
|
43
|
+
"@uniweb/runtime": "0.4.2"
|
|
44
44
|
}
|
|
45
45
|
}
|