enhanceApp.js 484 B

123456789101112131415
  1. // view these console messages on the browser console
  2. // async function is also supported, too
  3. export default ({
  4. Vue, // the version of Vue being used in the VuePress app
  5. options, // the options for the root Vue instance
  6. router, // the router instance for the app
  7. siteData, // site metadata
  8. isServer // is this enhancement applied in server-rendering or client
  9. }) => {
  10. // ...apply enhancements to the app
  11. console.log({ Vue, options, router, siteData, isServer });
  12. }