Some cleanup in the vue component.

I think this is the proper way to create a single file component.
But as usual, I am clueless.
3 jobs for cleanup in 2 minutes and 53 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #264107831
install javascript dependencies

00:01:19

passed #264107830
install php dependencies

00:00:58

 
  Test
passed #264107832
run web tests

00:01:33