Let's learn
Step 1.Install new laravel project to implement code. https://laravel.com/docs/5.8/installation
run above command in command prompt.
Step 2.Install node.js package for blog project . click here to download it.
Step 3.Install npm package for blog project.click here to see the documentation.Install the dependencies in the local node_modules folder.
run above command in terminal.
Step 4.Run command npm run watch.
npm run dev active and updates only when you run command.
npm run watch does the same, but then it stays active and "watches" for updates.vue and .js files. If it detects a change so you can just refresh the page.