mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 23:52:06 +00:00
7458dd1aa6
* test: add tests for dynamic paths + relative assets Co-authored-by: Anthony Fu <hi@antfu.me> * fix: rework client config and use shared module for dynamic paths * resolves webpack public path regression * refactor: use more similar names to nitro equivalent * fix: align config exports * refactor: remove `__` prefix within dynamic paths module * refactor: use '#_config' to indicate internal alias * Update packages/nuxt3/src/core/templates.ts Co-authored-by: pooya parsa <pyapar@gmail.com> * refactor: use `#_config` alias and rename to `paths.mjs` Co-authored-by: Anthony Fu <hi@antfu.me> Co-authored-by: pooya parsa <pyapar@gmail.com>
21 lines
366 B
Vue
21 lines
366 B
Vue
<template>
|
|
<div>
|
|
<img src="~/assets/logo.svg" class="h-20 mb-4">
|
|
<img src="/public.svg" class="h-20 mb-4">
|
|
<img :src="logo" class="h-20 mb-4">
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import logo from '~/assets/logo.svg'
|
|
</script>
|
|
|
|
<style>
|
|
#__nuxt {
|
|
background-image: url('~/assets/logo.svg');
|
|
}
|
|
body {
|
|
background-image: url('/public.svg');
|
|
}
|
|
</style>
|