Skip to content

Latest commit

 

History

History
95 lines (58 loc) · 2.76 KB

README.md

File metadata and controls

95 lines (58 loc) · 2.76 KB

Stand-alone php project with laravel mix and vuejs

About

This is a sample stand-alone php project with laravel-mix using PHP & VueJS 2 and Laravel Mix build with YARN or NPM

Requirements

Installation

  • First: Clone the repository
  • Install all needed node package
    • Run the below command and enjoy!
#yarn
yarn install

#or npm
npm install

Configuration

Build

Important: Please, if you are new with laravel-mix, see laravel mix docs more info.

Command to run mix build:

#yarn
yarn mix

#or npx
npx mix

Scripts

Important: See all the available script at package.json

Run watch-poll (to detect automatically all changes):

#yarn
yarn watch-poll

#or npm
npm run watch-poll

Documentation

VueJS Version 2

The Progressive JavaScript Framework

Docs: https://v2.vuejs.org/v2/guide/

Laravel mix

An elegant wrapper around Webpack for the 80% use case.

Docs : https://laravel-mix.com/docs

Yarn

Yarn is a package manager that doubles down as project manager. Whether you work on one-shot projects or large monorepos, as a hobbyist or an enterprise user, we've got you covered.

Get Started : https://yarnpkg.com/getting-started

NPM

npm is the world's largest software registry. Open source developers from every continent use npm to share and borrow packages, and many organizations use npm to manage private development as well.

Get Started : https://docs.npmjs.com/getting-started

Annexe

Be cause it's a php project, so you can use composer to manage a php dependency.

Created with ❤ by Ladina - Full Stack Developer | PHP & JS