Installation

In order to use Vuetron, you have to download Vuetron and include the plugins in your application

Downloading Vuetron desktop app

Here are the links:

Download Mac

Download Windows

Download Linux

If you want to build it yourself, follow the instructions below:

# Clone this repository
$ git clone https://github.com/vuetwo/vuetron.git

# Go into the repository
$ cd vuetron/packages/vuetron-app

# Install dependencies
$ npm install

# Install vuetron-server dependencies
$ npm install ./vuetron-server

# Run the app server
$ npm run dev-server

# In a separate terminal
$ npm run dev

Adding Vuetron plugins in your application

In order for Vuetron to access the application, the Vuetron library must be included

Try it out

If you want to test out Vuetron before you commit to installing it in your project, you can fork or clone our example app with the plugins pre-configured. (Vuetron app download required separately)

Installing the Vuetron npm module

$ npm install vuetron --save-dev

In main Vue file:

import Vue from 'vue'
import App from './App.vue'
import vuetron from 'vuetron';

Vue.use(vuetron.VuetronVue);

new Vue({
  // ...
});

In Vuex Store file (optional):

import Vue from 'vue';
import Vuex from 'vuex';
import vuetron from 'vuetron';

const store = new Vuex.Store({
  // ...
  plugins: [vuetron.VuetronVuex()]
})

That’s it!

Go ahead and launch Vuetron and your application and test away!