nuxt-interpolation
Advanced tools
+10
-0
@@ -5,2 +5,12 @@ # Change Log | ||
| <a name="0.2.2"></a> | ||
| ## [0.2.2](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.1...v0.2.2) (2018-09-13) | ||
| ### Bug Fixes | ||
| * cannot resolve ([0b65221](https://github.com/daliborgogic/nuxt-interpolation/commit/0b65221)) | ||
| <a name="0.2.1"></a> | ||
@@ -7,0 +17,0 @@ ## [0.2.1](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.0...v0.2.1) (2018-09-13) |
+7
-3
| const { resolve } = require('path') | ||
| module.exports = function interpolation () { | ||
| this.addPlugin(path.resolve(__dirname, 'templates/plugin.js')) | ||
| module.exports = function () { | ||
| this.addPlugin({ | ||
| src: resolve(__dirname, './templates/plugin.js'), | ||
| fileName: 'interpolation.js', | ||
| ssr: false | ||
| }) | ||
| } | ||
| // REQUIRED if publishing as an npm package | ||
| module.exports.meta = require('./package.json') | ||
| // module.exports.meta = require('./package.json') |
+2
-2
| { | ||
| "name": "nuxt-interpolation", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "Directive for binding every link to catch the click event, and if it's a relative link router will push.", | ||
| "main": "index.js", | ||
| "main": "lib/module.js", | ||
| "directories": { | ||
@@ -7,0 +7,0 @@ "lib": "lib" |
+1
-1
| # interpolation | ||
| > [Nuxt.js](https://github.com/nuxt/nuxt.js/) directive for binding every link to catch the click event, and if it's a relative link router will push. For improved security `rel="noopener"` will be added automatically if target is `_blank` | ||
| > [Nuxt.js](https://github.com/nuxt/nuxt.js/) module as directive for binding every link to catch the click event, and if it's a relative link router will push. For improved security `rel="noopener"` will be added automatically if target is `_blank` | ||
@@ -5,0 +5,0 @@ ## Setup |
5984
5.33%54
8%