Sage 9 beta 3 get_template_directory_uri() problem

Hello guys, with the beta 3 when i required the theme folder uri with get_template_directory_uri() the function return me this:

http://mywebsite.com/app/themes/mytheme/resources

why not the root of the theme? My problem is how to access to dist folder from resources.

Thank you for help.

Edit: As an alternative, I’m using get_stylesheet_directory_uri() instead.

1 Like

the get_template_directory_uri() returns that paths cause that’s where the style.css is placed.
If you want to use that function you could append a ../ to it and you’ll be able to reach the dist folder as well.
On another note, you could also use the config function like this: config('assets.uri')