You can create
./public folder in your project root or theme directory to serve public files. e.g.
./public/logo.png will be served at
Then you can use it in your Markdown page:
Or Vue components:
<template> <img src="/logo.png"> </template>
- Public files are NOT processed by webpack. You don't need
./publicfolder if you want to use webpack to process the file, simply reference it via relative URL, e.g.
- If both
$theme/public/logo.pngexist, the one in theme directory will be ignored.