Back to Gatsby

using-path-prefix

examples/using-path-prefix/README.md

2.20.0295 B
Original Source

using-path-prefix

To test this example site locally run the following commands from this directory

shell
gatsby build --prefix-paths
cd public
mkdir prefix
mv * prefix # This will cause an error but you can ignore it
cd ..
gatsby serve
# Open the served site at localhost:9000/prefix/