How do I configure Echarts in Dashboard 2 in my intranet?

Firstly:

In order to make code readable and usable it is necessary to surround your code with three backticks (also known as a left quote or backquote ```)

``` 
   code goes here 
```

You can edit and correct your post by clicking the pencil :pencil: icon.

See this post for more details - How to share code or flow json

Next: are you serving echarts? If yes how?

Lastly: your template doesn't look right. You should try to adapt a working vue demo like this one: How to configure Echarts in Dashboard 2? - #4 by Steve-Mcl