# Vue Setup

NOT USABLE YET

Vue was a large part of previous versions, so we're eager to add Vue support for the many people in the Pulse community that use Vue. We're still testing the best way to implement this below is the current plan, though this syntax is subject to change.

# Installation

yarn add @pulsejs/core @pulsejs/vue

# Initialization

import Pulse from '@pulsejs/vue';

export const App = new Pulse();

# Example

import Vue from 'vue';
import Pulse from '@pulsejs/vue';

export const App = new Pulse();

const core = App.Core({
  MY_STATE: App.State(true)
});

export default new Vue({
  el: '#vue',
  data: {
    ...this.mapCore(core => ({
      localName: core.MY_STATE
    }))
  }
});