davestewart / nuxt-content-assets

Enable locally-located assets in Nuxt Content
https://npmjs.com/package/nuxt-content-assets
108 stars 7 forks source link

Potentially bring back asset path templates #21

Open davestewart opened 1 year ago

davestewart commented 1 year ago

Background

Before version 0.8.0, Content Assets supported asset path templates (see code):

const srcAttr = interpolatePattern(pattern, srcRel)

It could be nice to bring them back, especially considering #20 where it might be easier to process a single folder to upload to a 3rd party service (needs investigation).

Proposal

Would need to (re-)implement:

Notes

Not urgent!