Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vue] vue怎么改变插入模板的分隔符? #435

Open
haizhilin2013 opened this issue Jun 22, 2019 · 5 comments
Open

[vue] vue怎么改变插入模板的分隔符? #435

haizhilin2013 opened this issue Jun 22, 2019 · 5 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] vue怎么改变插入模板的分隔符?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 22, 2019
@maozhuo123
Copy link

delimiters

@censek
Copy link

censek commented Oct 30, 2019

@qq-radio
Copy link

qq-radio commented Jan 1, 2021

没懂

@hyj443
Copy link

hyj443 commented Oct 20, 2021

可以在new Vue传入配置对象中设置delimiters,也可以Vue.config.delimiters = ['${', '}']

这么一改,所有用到 {{ }} 插值表达式的地方都要換成 ${ }

@ObearO
Copy link

ObearO commented Feb 2, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

6 participants