DEV Community

Discussion on: How to deploy a Laravel/Vue App to Heroku

Collapse
 
donphelix profile image
Don Phelix

Hi, how were you able to change http to https and new in Heroku just help

Thread Thread
 
jamesroyston profile image
James

In your blade template file where your app.js is imported, change asset() to secure_asset().

Thread Thread
 
amilissa profile image
Euphy

HELLO, I DONT HAVE THE asset() :3 please help me

Thread Thread
 
amilissa profile image
Euphy

please replyyy

Thread Thread
 
jamesroyston profile image
James • Edited

do you have an app.blade.php file in resources/views? look in there for link and script tags.

Thread Thread
 
amilissa profile image
Euphy

okay wait a minute

Thread Thread
 
amilissa profile image
Euphy

i searched it, it has many asset() tho, some are css bootstrap etc

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
amilissa profile image
Euphy • Edited

asset('js/bootstra') }}

is this one your referring to? i cant send the asset. it is hidden

Thread Thread
 
jamesroyston profile image
James

yes. change them all to secure_asset( ... ).