An open API service indexing awesome lists of open source software.

https://github.com/cklmercer/vue-mix

Bootstrap your Vue 2.0 SPA in less than 2 minutes.
https://github.com/cklmercer/vue-mix

boilerplate laravel-mix single-page-app spa vue

Last synced: 2 days ago
JSON representation

Bootstrap your Vue 2.0 SPA in less than 2 minutes.

Awesome Lists containing this project

README

          

# vue-mix
SPA boilerplate for your Vue 2.0 projects using [laravel-mix](https://github.com/jeffreyway/laravel-mix).

## Setup
**Clone the repository**
```bash
$ git clone https://github.com/cklmercer/vue-mix
```

**Move into the the project directory**
```bash
$ cd vue-mix
```

**Install dependencies**
```bash
$ yarn install
```
_or_
```bash
$ npm install
```

**Complete the initial build**
```bash
$ npm run build
```

**Start a dev server**
```bash
$ npm run dev
```

**Open project in browser**

Open your favorite browser and navigate to `http://localhost:8080`.

## Development
Once you got the project built and you have a dev server running, you're free to begin developing.
With your dev server running, hot module reloading _(HMR)_ is enabled by default, simply make some
changes to your code and watch as your browser _"refreshes"_ itself automatically.

## Plugins
This boilerplate makes use of a few plugins.

* `vue-router`: For SPA routing. Learn more at [vue-router](https://github.com/vuejs/vue-router)
* `vue-stash`: For global store access. Learn more at [vue-stash](https://github.com/cklmercer/vue-stash)
* `vue-events`: For global event bus. Learn more at [vue-events](https://github.com/cklmercer/vue-events)

## Branches
There are a couple of different versions of this boilerplate..
* `master`: Includes a couple of examples to help you get going.
* `barebones`: Same as master except there are no examples.
* `bulma`: Includes the Bulma CSS framework and font-awesome, no examples.

## Demo Video
[vue-mix setup](https://www.youtube.com/watch?v=6qK_sAvCPfA_)

## License
Copyright (c) 2016 Cody Mercer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR**
**IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,**
**FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE**
**AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER**
**LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,**
**OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE**
**SOFTWARE.**