I deployed my application on Google VM machine and menu items are empty. There is no issue in my local host. The database is migrated and working completely fine on every other things.
What I've tried so far:
But nothing seems to work.
Any idea why this is happening?
it's probably blocked by Content-Security-Policy. This header could be added by nginx or apache2. The voyager uses vue2 and require eval
method. Append to CSP this data: script-src: 'self' 'unsafe-eval'
.
My example:
add_header Content-Security-Policy "default-src 'self' http: https: data: blob: 'unsafe-inline' script-src: 'self' 'unsafe-eval'" always;