bradstewart / electron-boilerplate-vue

Boilerplate application for Electron runtime
724 stars 94 forks source link

Accessing static folder? #32

Closed rdpascua closed 8 years ago

rdpascua commented 8 years ago

How can I access the static folder when I release the application? Because the hierarchy of the folder changes when publishing the app.

Before

app
static

After

resources
  app
   static
   assets
bradstewart commented 8 years ago

Referencing static files as static/<filename> should work from anywhere, the build scripts should take care of any hierarchy differences.