fix: fonts warning (#1318)
* fix: Fix a fonts warning
The warning was:
files in the public directory are served at the root path.
Instead of /public/fonts/soehne-buch.woff2, use /fonts/soehne-buch.woff2.
* See if it likes /fonts better
This commit is contained in:
@@ -42,7 +42,7 @@ export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.join(__dirname, 'src/'),
|
||||
$fonts: resolve('public/fonts'),
|
||||
$fonts: resolve('/fonts'),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user