Closed caxerx closed 4 years ago
Hello @caxerx,
Could you provide an example of such component with custom block?
The custom block is like this
<i18n lang="json">
{
"en": {
"hello": "hello world!"
},
"ja": {
"hello": "γγγ«γ‘γ―γδΈηοΌ"
}
}
</i18n>
I also configure the rollup-plugin-vue
like this and use with @intlify/rollup-plugin-vue-i18n
vue({
customBlocks: ['i18n']
})
There are similar problem when I use extract css config.
When I configure rollup-plugin-vue
like this:
vue({ css: false })
rollup-plugin-vuetify
will try to parse the css block and cause an error.
@caxerx I found the cause of the error. It will be fixed in next patch release (0.2.3). Thanks for your contribution.
Hello, I have a problem when use this plugin with i18n custom block. Seems vuetify plugin try to parse i18n custom block like a script. However, it's a json format and it parse failed.