laravel-pwa icon indicating copy to clipboard operation
laravel-pwa copied to clipboard

Sail, Vue3, Laravel10, Vite3 fixed assets, how to?

Open cwaidelich opened this issue 1 year ago • 0 comments

Hello,

my current environment is build with Sail, Vue3, Laravel10, Vite3, and others.

I have followed the steps in the readme file and am struggling when it come to the definition of fixed assets. I don't understand how to define the fixed asset, when it is build either for dev or prod.

For example, running sail npm run dev does not generate any file in the build/assets directory, therefor caching files in that directory does not work. When I run sail npm run build, it generates files in the build/assets directory, but they are named similar to 'assets/bootstrap-icons-d0346eea.woff' or 'assets/app-00f464bc.css'.

So this may not be an issue, but a question or an ask for a tutorial, that may be somewhere on the web, and I haven't found. The question is basically how do I proceed with this? How can I develop and then deploy this properly? in the environment that I am at. Thank you very much and excuse me if this is not the right place to ask this.

cwaidelich avatar Jan 20 '24 14:01 cwaidelich