This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"directory": "vendor/bower_components" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function npm_prompt_filter() | |
local package = io.open('package.json') | |
if package ~= nil then | |
local package_info = package:read('*a') | |
package:close() | |
local package_name = string.match(package_info, '"name"%s*:%s*"(.-)"') | |
or "" | |
local package_version = string.match(package_info, '"version"%s*:%s*"(.-)"') | |
or "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// install a fresh copy of Laravel 5.7, make:auth and migrate the database | |
// head over to yoururl.test/login and hit login button | |
resources/views/auth/login.blade.php | |
11 <form method="POST" action="{{ route('login') }}"> | |
// the named route points to /login for GET and POST | |
routes/web.php |