Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

vue-twitter-timeline

bunesk143MIT1.0.2

A Vue3 component which allows you to easily embed twitter timelines.

vue, vue-3, vue-twitter-timeline, vue3-tweet, twitter-timeline, embed, twitter, twitter-widget, twitter-embed

readme

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

Property Description Type Default
url The timeline url part after https://twitter.com/ string -
description Text to show while loading or if it can't load string ''
height Height in pixels string ''
width Width in pixels string ''
lang Language key to use string browser setting / en
theme Theme to use light / dark system setting / light
doNotTrack If tracking should be prevented boolean false

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.2 (2022-12-12)

1.0.1 (2022-08-10)

1.0.0 (2022-08-09)