In the Using the Wordpress Data Layer course, the file index.asset.php can't be found. I went through the steps in
Setting up your development environment, and when I ran npm start I got an error saying that the file build/index.asset.php can't be found. The code that uses the file is
$asset_file = include plugin_dir_path( __FILE__ )
.'build/index.asset.php';
foreach ( $asset_file['dependencies'] as $style ) {
wp_enqueue_style( $style );
}
in the load_custom_wp_admin_scripts function in my-first-gutenberg-app.php
In the Using the Wordpress Data Layer course, the file index.asset.php can't be found. I went through the steps in
Setting up your development environment, and when I ran npm start I got an error saying that the file build/index.asset.php can't be found. The code that uses the file is
in the load_custom_wp_admin_scripts function in my-first-gutenberg-app.php