Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
CHANGELOG.md Publish Oct 1, 2018
README.md use yarn workspaces Oct 6, 2017
index.js chore(vendor): support nuxt 1.0.0 Nov 27, 2017
package.json fix: correct homepage URLs (#282) May 20, 2019

README.md

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
You can’t perform that action at this time.