Bootstrap your Vue 2.0 SPA in less than 2 minutes.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits behind cklmercer:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets/scss
components
public
router
store
.gitignore
LICENSE
README.md
index.js
package.json
webpack.config.js
webpack.mix.js
yarn.lock

README.md

vue-mix

SPA boilerplate for your Vue 2.0 projects using laravel-mix.

Setup

Clone the repository

$ git clone https://github.com/cklmercer/vue-mix

Move into the the project directory

$ cd vue-mix

Install dependencies

$ yarn install

or

$ npm install

Complete the initial build

$ npm run build

Start a dev server

$ 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
  • vue-stash: For global store access. Learn more at vue-stash
  • vue-events: For global event bus. Learn more at vue-events

Demo Video

vue-mix setup

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.