Hi, I'm trying to add Javascript to my module following your example in Chapter 8. It says ". . you'll see how we include them in the highlighted code below in the HelloWorldController.php file." But there's nothing highlighted in the following code, and it looks identical to the version in the Adding CSS chapter. So is it true that adding the attached library lines from the Adding CSS chapter is the same change that will allow the Javascript to be used, after the js lines are added to the libraries.yml file? Thanks!
Hi, I'm trying to add Javascript to my module following your example in Chapter 8. It says ". . you'll see how we include them in the highlighted code below in the HelloWorldController.php file." But there's nothing highlighted in the following code, and it looks identical to the version in the Adding CSS chapter. So is it true that adding the attached library lines from the Adding CSS chapter is the same change that will allow the Javascript to be used, after the js lines are added to the libraries.yml file? Thanks!