Home

Awesome

vue-stack-2.0

Vue 2.0 project boilerplate.

Looking for a more updated, light-weight boilerplate? Check out vue-mix

Includes

Setup

Features

Global Store

Visit ./app/store.js to add properties to your global store. Pre-initialize these properties and they'll be reactive just like other properties in your component's data option.

You can access these properties from from within any component using the store option or via vm.$store.

See vue-stash for more details regarding the global store.

Global Event Bus

Since the vm.$dispatch and vm.$broadcast events have been deprecated, vue-stack-2.0 leverages vue-events to simplify event handling.

Fire an event

Listen for an event

See vue-events for more details.

SPA Routing

vue-stack-2.0 leverages the latest vue-router. To get started, checkout ./app/routes.js.

I'm using laravel/homestead and browser-sync

License

MIT