Conversation
|
✔️ Deploy Preview for nuxt3-docs canceled. 🔨 Explore the source changes: 78ed9b0 🔍 Inspect the deploy log: https://app.netlify.com/sites/nuxt3-docs/deploys/61e5e0d408b7610007ba0a2a |
|
This PR is total BR for existing projects 😄 |
|
@misaon I'm not sure I understand what that means ... If you're experiencing an issue, would you create one and we'll do our best to address it. |
|
@danielroe maybe... <template>
<img :src="ImageLogo" />
</template><script lang="ts" setup>
import ImageLogo from 'assets/images/logo.svg'
</script>Result image path (in prod): |
|
@danielroe Ye, i have same issue with images as @misaon noticed |
|
Same problem for me, my production build doesn't display images from my assets folder anymore because I have |
|
@danielroe @pi0 Do you know about this issue? |
|
Yes. Please follow nuxt/nuxt#13250 for progress. |






🔗 Linked issue
resolves nuxt/nuxt#11406, resolves nuxt/nuxt#12612, resolves nuxt/nuxt#12675, resolves nuxt/nuxt#12652, resolves nuxt/nuxt#12922, resolves nuxt/nuxt#12892, resolves nuxt/nuxt#13098
Related: nuxt/bridge#223 (will fix in follow-up PR)
Previous PRs
closes #2249, closes #2262
❓ Type of change
📚 Description
This PR refactors how we configure the base path of an application (previously
router.base), the build assets path (previouslybuild.publicPath) and any CDN URL.It also implements dynamic configuration for
BASE_PATHandCDN_URL(which must end with/):If there are static assets (such as images in the
~/publicfolder) which should be updated to the dynamically configured path, these should be indicated by using a 'magic' string:Note: With nuxt/nuxt#10197, this PR also adds dynamic router base + CDN support for Nuxt Bridge (with the exception of the static file 'dynamic' prefix with
/__NUXT_BASE__/which only applies to Nuxt 3).📝 Checklist