Bundle Files with Code Plugin
Adding a regular file
- Add a file to
packages/plugin-core/assets
- To access the file in the code, use the following snippet:
const assetUri = VSCodeUtils.getAssetUri(context);
const uri = VSCodeUtils.joinPath(
assetUri,
"dendron-ws",
"vault",
"welcome.html"
);
Related
Backlinks