@nuxtjs/vendor
v1.1.7
Published
[![npm](https://img.shields.io/npm/dt/@nuxtjs/vendor.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/vendor) [![npm (scoped with tag)](https://img.shields.io/npm/v/@nuxtjs/vendor/latest.svg?style=flat-square)](https://npmjs.com/package/@nuxtjs/v
Downloads
199
Keywords
Readme
Vendor
This awesome little modules creates junction symlinks from
node_modules
intostatic/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
tomodules
section ofnuxt.config.js
{
modules: [
'@nuxtjs/vendor',
]
}
- Define your dependencies in
nuxt.config.json
insidevendor
section
{
vendor: [ 'ckeditor' ]
}
- Add
/static/vendor
to.gitignore