keyding/vite-crx-vue

What about i18n?

Closed this issue · 2 comments

Awesome template! Thanks for the great work!

I wonder if you plan to support i18N? At the moment when creating a _locales dir in my src dir it seems that it's not published to the dist.

https://developer.chrome.com/docs/extensions/reference/i18n/

It would be a great pleasure to help you.

image

manifest.json

{
    "default_locale": "en",
    "description": "__MSG_extDescription__",
}

You should put it in the public directory.

after build

image

I'll update and commit later.

Worked like a charm, thank you!

Closing this issue now.