Skip to content

Latest commit

 

History

History
executable file
·
25 lines (22 loc) · 810 Bytes

README.md

File metadata and controls

executable file
·
25 lines (22 loc) · 810 Bytes

Vendor

npm npm (scoped with tag)

This awesome little modules creates junction symlinks from nodule_modules into static/vendor so you can directly serve node modules inside web. Useful for runtime dependencies.

Usage

  • Add @nuxtjs/vendor dependency using yarn or npm to your project
  • Add @nuxtjs/vendor to modules section of nuxt.config.js
{
  modules: [
    '@nuxtjs/vendor',
  ]
}
  • Define your dependencies in nuxt.config.json inside vendor section
{
    vendor: [ 'ckeditor' ]
}
  • Add /static/vendor to .gitignore