egoist / vue-router-prefetch

Prefetch links when they are visible in viewport.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prefetch addtional files

egoist opened this issue ยท comments

<router-link to="/foo" :prefetch-files="files">foo</router-link>

This will prefetch the route component for /foo and files which is an array of links to static files. We can reuse the prefetch function here: https://github.com/GoogleChromeLabs/quicklink/blob/master/src/prefetch.mjs

๐ŸŽ‰ This issue has been resolved in version 1.1.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€