If you want to view the generated pages in the publish/
directory locally, you typically need a local HTTP server. You can use any tool you are familiar with to accomplish this. Here, miniserve is recommended. After installing it, you can run the following command in the root path of your Kodama project to serve the pages locally.
miniserve ./publish --index index.html --pretty-urls