File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ In this guide, we'll show you a couple of different ways to get started with Spe
3636 export default App ;
3737 ```
3838
39- ## Option Two: Using NextJS App Router to bootstrap a React-based Spectacle app
39+ ## Option Two: Using Next.js App Router to bootstrap a React-based Spectacle app
4040
41- 1 . Spin up a new React project using [ ` vite ` ] ( https://vitejs.dev/guide/#scaffolding-your-first-vite-project ) :
41+ 1 . Spin up a new React project using [ ` create-next-app ` ] ( https://nextjs.org/docs/pages/api-reference/create-next-app ) :
4242
4343 ``` bash
4444 npx create-next-app@latest
@@ -49,7 +49,7 @@ In this guide, we'll show you a couple of different ways to get started with Spe
49493 . Create a ` deck.tsx ` file inside the ` app ` directory and add the following Spectacle starter:
5050
5151 ``` tsx
52- " use client" ;
52+ ' use client' ;
5353
5454 import { Deck , Slide , Heading , DefaultTemplate } from ' spectacle' ;
5555
@@ -64,15 +64,14 @@ In this guide, we'll show you a couple of different ways to get started with Spe
6464 };
6565 ```
6666
67- 4 . In ` App .tsx` , import the ` <SpectacleDeck /> ` component:
67+ 4 . In ` app/page .tsx` , import the ` <SpectacleDeck /> ` component:
6868
6969 ``` tsx
70- import { SpectacleDeck } from " ./deck" ;
70+ import { SpectacleDeck } from ' ./deck' ;
7171
7272 export default function Home() {
7373 return <SpectacleDeck />;
7474 }
75-
7675 ```
7776
7877## Option Three: Using Markdown and the Spectacle CLI
You can’t perform that action at this time.
0 commit comments