1.2.3 • Published 5 years ago

vue-unorphan v1.2.3

Weekly downloads
81
License
MIT
Repository
github
Last release
5 years ago

vue-unorphan

A Vue directive that implements unorphan.

Install

yarn add vue-unorphan or npm install --save vue-unorphan

Vue

Vue = require('vue')
Vue.directive('unorphan', require('vue-unorphan'))

Nuxt

In nuxt.config.js:

{
  modules: [ 'vue-unorphan/nuxt/module' ]
}

Usage

Use in a Vue template like:

<h1 v-unorphan>A long title with many words that will wrap to multiple lines</h1>

Example

Before:

npm.io

After:

npm.io

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago