I’m using it with a phoenix backend and a create react app front-end.
This requires building the assets and copying to the priv/static folder. Phoenix acts as a giant file server and then I also use it as an api with graphql absinthe.
I make copying to the priv/static folder part of my asset build process package.json build script
“build”: “rescripts build”,
“postbuild”: “mkdirp ../priv/static && cpx \“./build/**\” \“../priv/static\” --clean && cpx \“src/styles/tailwind.css\” \“../priv/static\” “,