afternow
Digest / Release problem with Phoenix and Vue
Hello
I in my umbrella I have an app with Phoenix 1.4.3. The App is setup with webpack and VUE JS (placed under assets/src). Everything work so far, but if I pack everything to a release (using Distillery), it doesn’t work anymore. It seems that the whole VUE stuff will not load. Before I create the release, I run “mix phx.digest”, but It seems it doesn’t work properly. When I delete everything in “priv/static” and run then the Digest command, it only creates a cache_manifest.json file with content “{“digests”:{},“latest”:{},“version”:1}”
I’ve read the documentation here mix phx.digest — Phoenix v1.8.8, but it didn’t helped me.
Is there anything else I have to consider?
Marked As Solved
afternow
Thank you LastKobrakai for your answer. This helped me a lot!
For the deployment I run npm run deploy in the assets folder. This runs webpack and copy the data into the priv folder. Then mix phx.digest and finally mix release
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









