Skip to content

shershen08/vue-lorem-ipsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lorem ipsum text generator for vue.js

Demo

See DEMO here

Installation

Run npm install vue-lorem-ipsum --save

Usage

Add in the component import LoremIpsum from 'vue-lorem-ipsum';

Use in the template <lorem add="2p"></lorem>

Query language

It uses lorem.js logic for generating the text blocks. Lorem.js has a simple query language: "how many?, what?"

  • 2p = 2 paragraphs => <lorem add="2p" />
  • 5s = 5 sentences => <lorem add="5s" />
  • 6w = 6 words => <lorem add="6w" />
  • 1-6w = between 1 and 6 words => <lorem add="1-6w" />

About

Lorem ipsum text generator component for vue.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published