最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

nuxt.js - How to use nuxt i18n for public files - Stack Overflow

programmeradmin1浏览0评论

I'm wondering how to use i18n nuxt plugin with files under the public/ directory.

Example case: In a portfolio website, you may want to allow visitors to access your resume file. If the website supports two languages, say English and French, you may want to serve your resume in two different languages.

So you may have public/resume.pdf file and public/fr/cv.pdf.

The question is, how can I use <NuxtLinkLocale> to serve, according to the locale, my public files?

发布评论

评论列表(0)

  1. 暂无评论