Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daliborgogic/nuxt-interpolation
Nuxt.js module as directive for binding every link to catch the click event, and if it's a relative link router will push.
https://github.com/daliborgogic/nuxt-interpolation
absolute external internal links nuxt relative router
Last synced: 17 days ago
JSON representation
Nuxt.js module as directive for binding every link to catch the click event, and if it's a relative link router will push.
- Host: GitHub
- URL: https://github.com/daliborgogic/nuxt-interpolation
- Owner: daliborgogic
- Created: 2018-09-13T11:25:27.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-09T18:13:39.000Z (about 1 year ago)
- Last Synced: 2024-10-10T16:41:45.688Z (about 1 month ago)
- Topics: absolute, external, internal, links, nuxt, relative, router
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/nuxt-interpolation
- Size: 737 KB
- Stars: 44
- Watchers: 5
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# nuxt-interpolation
> [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`
> :warning: For Nuxt 3, see [here](https://github.com/daliborgogic/interpolation)
## Setup
### Install the module
```
npm install nuxt-interpolation
# or
yarn add nuxt-interpolation
```### Register the module
```javascript
{
modules: [
'nuxt-interpolation',
]
}
```## Usage
```html
```## License
[MIT](https://opensource.org/licenses/MIT)