d9eb29a9fa
Depends on https://github.com/vercel/next.js/pull/44666 This will install `package.json` dependencies in examples before running them.
22 lines
410 B
Markdown
22 lines
410 B
Markdown
# Running Example Apps
|
|
|
|
Running examples can be done with:
|
|
|
|
```sh
|
|
pnpm next-with-deps ./examples/basic-css/
|
|
```
|
|
|
|
To figure out which pages are available for the given example, you can run:
|
|
|
|
```sh
|
|
EXAMPLE=./test/integration/basic
|
|
(\
|
|
cd $EXAMPLE/pages; \
|
|
find . -type f \
|
|
| grep -v '\.next' \
|
|
| sed 's#^\.##' \
|
|
| sed 's#index\.js##' \
|
|
| sed 's#\.js$##' \
|
|
| xargs -I{} echo localhost:3000{} \
|
|
)
|
|
```
|