Skip to content

Example repository for Vue.js development with Laravel Mix

License

Notifications You must be signed in to change notification settings

fireworkweb/vue-laravel-mix

Repository files navigation

vue-laravel-mix

Build Status

Example repository for Vue.js development with 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 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