📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

vue-route-timeline

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-route-timeline

A Vue timeline, using vue-router and vuex

0.2.2
latest
npm
Version published
Maintainers
1
Created
Source

Vue route timeline

version MIT License All Contributors

Watch on GitHub Star on GitHub Tweet

Build a timeline clicking throug your application, using vue-router and vuex.

For detailed explanation on how things work, checkout the docs.

Instalation

npm install vue-route-timeline

Getting started

import Vue from 'vue'; // Load vue
import VueRouteTimeline from 'vue-route-timeline'; // Import timeline
import App from './App'; // Load your app
import router from './router'; // Add your router
import store from './store'; // Build your vuex store

Vue.use(VueRouteTimeline, {store, router}); // Connect timeline to vue, store and router

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App),
});

Usage

Add an item whenever you like, it will store the current route:

this.$routeTimeline.set('Title', 'Subtitle');

Contributors

Thanks goes to these wonderful people (emoji key):


disjfa

💬 💻 🎨 📖 💡

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Package last updated on 25 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts