Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fireworkweb/vue-laravel-mix

Example repository for Vue.js development with Laravel Mix
https://github.com/fireworkweb/vue-laravel-mix

docker eslint laravel-mix vessel vue webpack

Last synced: about 1 month ago
JSON representation

Example repository for Vue.js development with Laravel Mix

Awesome Lists containing this project

README

        

# vue-laravel-mix

[![Build Status](https://travis-ci.com/fireworkweb/vue-laravel-mix.svg?branch=master)](https://travis-ci.com/fireworkweb/vue-laravel-mix)

Example repository for Vue.js development with [Laravel Mix](https://github.com/JeffreyWay/laravel-mix).

## Usage

You can use it on your local env with Node and Yarn, or you can use it with Docker!

### Local environment

- `yarn hot`: Web server with hot reload on `http://localhost:8080/`.
- `yarn dev`: Build for development on `dist` folder.
- `yarn prod`: Build for production on `dist` folder.
- `yarn lint`: Lint your code with ESlint.

### Docker

For Docker, we use [fwd](https://github.com/fireworkweb/fwd) to help us with the commands.

- `./fwd hot`: Web server with hot reload on `http://localhost:8080/`.
- `./fwd yarn *`: Use Yarn inside Docker.
- `./fwd npm *`: Use npm inside Docker.
- `./fwd node *`: Use Node inside Docker.

Tip: add `alias fwd=./fwd` to help you with commands.

## License

MIT