1.0.2 • Published 1 year ago

vue-twitter-timeline v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Vue Twitter Timeline

A Vue3 component which allows you to easily embed twitter timelines. If you are looking for a Vue3 component to embed tweets check out this.

Installation

npm install vue-twitter-timeline

Usage

import TwitterTimeline from 'vue-twitter-timeline';
<TwitterTimeline
  url="TwitterDev/lists/national-parks?ref_src=twsrc%5Etfw"
  description="Loading..."
  height="720"
  width="720"
  lang="de"
  theme="dark"
  doNotTrack
></TwitterTimeline>

Props

PropertyDescriptionTypeDefault
urlThe timeline url part after https://twitter.com/string-
descriptionText to show while loading or if it can't loadstring''
heightHeight in pixelsstring''
widthWidth in pixelsstring''
langLanguage key to usestringbrowser setting / en
themeTheme to uselight / darksystem setting / light
doNotTrackIf tracking should be preventedbooleanfalse

Project setup

npm install

Compiles and hot-reloads for development

npm start

Release and publish new version

npm run release

Build for demo site

npm run build-site

Update dependencies

npm run update

License

MIT