Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

nuxtjs i18n guide


I want to integrate the previously configured vue i18n in nuxtjs3. Please guide me on this.


metronic_v8.0.37\vue\demo1\src\core\plugins\i18n.ts




metronic_v8.0.37\vue\demo1\src\main.ts

import { initInlineSvg } from "@/core/plugins/inline-svg";
initInlineSvg(app);

<inline-svg src="media/icons/duotune/text/txt001.svg" />


How can I integrate with nuxtjs3? Please guide me.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (7)


Do you have a boilerplate or sample example ? I didn't succeed to integrate it.

Thanks.



Did you manage to get it working in Nuxt yet? I'm thinking of giving it a go. But then again with Supabase and Row Level Security I dont think any SSR will be needed (for security, anyhow)



@김승연
Did you succeed to integrate the metronic components in nuxt3 ?



Yes, but it needs a lot of editing. Also, i18n is not currently supported. Frustration.



Do you have a boilerplate ? I didn't succeed to integrate it.



Hi,

I relaunch Robert's message. Did you manage to do it? Would you be open to sharing it?

Thanks in advance happy



Hi,

Unfortunately, we haven't tried Metronic with Nuxt 3 at the moment.

It looks like there is a separate i18n extension for Nuxt.

Please check their official documentation for more info:


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(