How do I add static assets to my Apostrophe project? The documentation only mentions pushing assets that are JavaScript or LESS files. It makes no mention of other static assets. In particular, I'd like to import a font face into my CSS, but there doesn't seem to be a way to include my OTF and TTF files.
标签:
apostrophe-cms
相关问题
- How-to access widget data in helper
- ApostropheCMS: How to emit Events from Browser to
- Apostrophe CMS running with Dynamo DB
- How to access custom fields in a data.home._childr
- Adding Link for Button Action
相关文章
- How-to access widget data in helper
- 添加了按钮操作链接(Adding Link for Button Action)
- 问题从弹性魔豆撇号CMS应用程序连接到蒙戈阿特拉斯(Issue connecting to Mong
- ApostropheCMS: How to emit Events from Browser to
- Apostrophe CMS running with Dynamo DB
- How to access custom fields in a data.home._childr
- Adding Link for Button Action
- Issue connecting to Mongo Atlas from Apostrophe CM
You can add static assets such as fonts or images to the
/public
directory which is automatically made available by the server. You can reference them from the root file path, such as