You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But static files from public dir is one level higher - in /app/dist. So favicon.ico and other static from public are inaccessible.
I'm trying build my own template (inspired by yours). I trying remove static from static path. And I am faced with the fact that if set assetDir: '' (this is default), and flask static_folder='dist' (my app.py lies in root), then nothing works at all. All static include js become inaccessible.
The text was updated successfully, but these errors were encountered:
You setup assume static dir is '/app/dist/static'.
npm build
generate this dir as ordered byvue.config.js
and flask setting up static directory as
But static files from
public
dir is one level higher - in/app/dist
. Sofavicon.ico
and other static frompublic
are inaccessible.I'm trying build my own template (inspired by yours). I trying remove
static
from static path. And I am faced with the fact that if setassetDir: ''
(this is default), and flaskstatic_folder='dist'
(my app.py lies in root), then nothing works at all. All static include js become inaccessible.The text was updated successfully, but these errors were encountered: