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

How to use it standalone when not using webpack #8

Open
zouzg opened this issue Oct 12, 2016 · 1 comment
Open

How to use it standalone when not using webpack #8

zouzg opened this issue Oct 12, 2016 · 1 comment

Comments

@zouzg
Copy link

zouzg commented Oct 12, 2016

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
Copy link
Author

zouzg commented Oct 12, 2016

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).

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

No branches or pull requests

1 participant