Skip to main content

Running Example Apps

Running examples can be done with:

pnpm next-with-deps ./examples/basic-css/

Before running any of the examples, you need to install dependencies via pnpm install and build the repository packages by running pnpm build in the root directory.

To figure out which pages are available for the given example, you can run:

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{} \
)