Skip to content

Commit d92f98d

Browse files
authored
[Microfrontends] Remove the hyphen from Micro-Frontends (#964)
### Description <!-- ✍️ Write a short summary of your work. Screenshots and videos are welcome! --> ### Demo URL <!-- Provide a URL to a live deployment where we can test your PR. If a demo isn't possible feel free to omit this section. --> ### Type of Change - [ ] New Example - [ ] Example updates (Bug fixes, new features, etc.) - [ ] Other (changes to the codebase, but not to examples) ### New Example Checklist - [ ] 🛫 `npm run new-example` was used to create the example - [ ] 📚 The template wasn't used but I carefuly read the [Adding a new example](https://github.com/vercel/examples#adding-a-new-example) steps and implemented them in the example - [ ] 📱 Is it responsive? Are mobile and tablets considered?
1 parent 87f82bc commit d92f98d

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

solutions/microfrontends/apps/docs/app/layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
import type { Metadata } from 'next'
12
import { PrefetchCrossZoneLinks } from '@acme/components/prefetch'
23
import { Layout } from '@vercel/examples-ui'
34
import '@vercel/examples-ui/globals.css'
45

6+
export const metadata: Metadata = {
7+
title: 'Microfrontends - Docs',
8+
description: 'Example demonstrating vertical microfrontends on Vercel',
9+
}
10+
511
export default function RootLayout({
612
children,
713
}: Readonly<{

solutions/microfrontends/apps/main/app/layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1+
import type { Metadata } from 'next'
12
import { PrefetchCrossZoneLinks } from '@acme/components/prefetch'
23
import { Layout } from '@vercel/examples-ui'
34
import '@vercel/examples-ui/globals.css'
45

6+
export const metadata: Metadata = {
7+
title: 'Microfrontends - Main',
8+
description: 'Example demonstrating vertical microfrontends on Vercel',
9+
}
10+
511
export default function RootLayout({
612
children,
713
}: Readonly<{

solutions/microfrontends/apps/main/app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ export default function Home(): React.ReactNode {
88
<Page>
99
<Navbar />
1010
<Text variant="h1" className="mb-6">
11-
Micro-Frontends
11+
Microfrontends
1212
</Text>
1313
<Text className="mb-4">
14-
In this Micro-Frontends app we have a monorepo using{' '}
14+
In this microfrontends app we have a monorepo using{' '}
1515
<a
1616
className="text-link hover:text-link-light transition-colors"
1717
href="https://turbo.build/repo/docs"
1818
>
1919
Turborepo
2020
</a>{' '}
2121
with multiple packages, each using TypeScript and going through a
22-
different Micro-Frontend technique:
22+
different microfrontend technique:
2323
</Text>
2424
<Text variant="h2" className="mt-10 mb-6">
2525
apps/main

0 commit comments

Comments
 (0)