Haixing-Hu / vue-i18n

Internationalization plugin of Vue.js
MIT License
62 stars 9 forks source link

How to use it standalone when not using webpack #8

Open zouzg opened 8 years ago

zouzg commented 8 years ago

Hi,

For some legacy reason I didn't use webpack in my project, so I used your i18n using script tag, the question is how can I use your cause I can't use Vue.use(i18n, {...}) cause i18n is load from script tag which can't assign to a local variable.

zouzg commented 8 years ago

image Another question is when I used this message in plain html tag, it works(second box), when I used it in another component, it doesn't works(first box).