Change public/assets path

Hi. I’m updating my site from sage 9 to 10 and i noticed that when i use asset() function in php, the base path is https://site.com/public/… whereas in my case i need it to be https://site.com/dist/… . I can’t seem to be able to find how to change it anywhere in docs. I would appreciate a clue where to change it. Thanks!

Publish Acorn’s configs using wp acorn vendor:publish --tag=acorn:config and edit assets.php.

You can also create the config folder yourself and bring over assets.php from the Acorn repo.

2 Likes