Open t2y opened 10 months ago
I should have specified frontend
as an assets directory, but it still failed.
$ go run main.go -env production -assets ./frontend -dist ./dist
The frontend
directory also should have a dist
directory?
This is a workaround that works for me.
$ make preview
...
2023/11/17 13:29:11 open dist/manifest.json: file does not exist
make: *** [Makefile:58: preview] Error 1
$ cp -ar dist/ frontend/
$ make preview
I can run with dev mode, but I cannot run with preview (production) mode. Is there any workaround?
But it seems the manifest.json exists.
I tried to run it manually, but it failed.