Skip to content

Instantly share code, notes, and snippets.

webpack.mix.js
mix.js('resources/assets/js/app.js', 'public/js')
.extract(["axios", "bootstrap-sass", "jquery", "laravel-mix", "lodash", "vue", "bootstrap-formhelpers"])
.sass('resources/assets/sass/app.scss', 'public/css');
package.json
{
def json_dealer
render json: Customers.
select('customers.first_name, customers.last_name,
customers.street, customers.city, customers.zip,
customers.home_phone, mobile_phone,
coordinates.latitude, coordinates.longitude, coordinates.distance,
vehicles.make, vehicles.model, vehicles.year').
where(['customers.dealership_id = ?', params[:id]] ).
joins('join coordinates on customers.id = coordinates.customer_id').
joins('join vehicles on customers.id = vehicles.customer_id').
dan@danwork2:/var/www/website > git status
On branch destined
nothing to commit, working directory clean
dan@danwork2:/var/www/website > git log
commit a950eb272ee5455225b0a43101ede24aa4ea5317
Author: dan <[email protected]>
Date: Thu Aug 20 23:00:06 2015 +0900
I do not know what this is