Enqueuing Scripts and Styles in Sage v11.0.1 for ACF Extended Dynamic Previews

I am attempting to load the CSS and JavasScript for my theme for use with ACF Extended dynamic iframe previews.

In Sage 10, I’d use bundle('app')->enqueue();, but I’m not sure what the equivalent is.

I’m receiving an error using that code, although the method still exists.

Any ideas how to resolve this issue?

Not sure if there’s a cleaner way to do this, but I’m using:

wp_enqueue_style('app-styles', Vite::asset('resources/css/app.css'));
wp_enqueue_script('app-scripts', Vite::asset('resources/js/app.js'), ['jquery']);