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