[Vuejs]-How can I prerender a subset of my laravel+vue application?

0👍

The javascript/vue files etc for the static part should all be in the static directory. It won’t work if they are in the folder you normally use for organizing the rest of your application.

You need to use HTMLwebpackPlugin to copy over the html to the output directory (say, in public). Mix’s copy happens too late. Chunks will help get only the js files you want.

Leave a comment