Skip to content

Instantly share code, notes, and snippets.

@qa1
Last active October 20, 2021 07:38
Show Gist options
  • Select an option

  • Save qa1/e6df203a19f7db7498b731318dfe2a12 to your computer and use it in GitHub Desktop.

Select an option

Save qa1/e6df203a19f7db7498b731318dfe2a12 to your computer and use it in GitHub Desktop.
composer global require "laravel/installer=~1.1"
# ~/.composer/vendor/bin
laravel new projectName
composer require laravel/ui
php artisan ui vue --auth
php artisan migrate
npm install && npm run dev
# got install cannot find module 'semver' error
# sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* ~/.npm
# sudo rm -rf /usr/local/lib/node*
# sudo rm -rf /usr/local/bin/node*
# sudo rm -rf /usr/local/include/node*
# sudo apt-get install nodejs npm
sudo apt-get purge nodejs npm
sudo apt autoremove
php artisan make:auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment