在Golang的HTML模板中使用Vue.js [重复]

This question already has an answer here:

I want to use Vue.js with the Golang's HTML template engine but as both use {{ ... }} for syntax, they conflict with each other...

Does anyone has already did it somehow or have any suggestions on how to overlap this problem?

Thanks in advance.

</div>

You can change delimiters used by Vue. Look the documentation

You can change the default delimiters for Go templates. Use:

func (t *Template) Delims(left, right string) *Template

Docs: https://golang.org/pkg/text/template/#Template.Delims