trunk-rs/trunk

Support inlining via data-url

オープン

#856 opened on 2024/08/23

 (0 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (315 件のフォーク)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (4,347 個のスター)
PR merge metrics
 (PR metrics pending)

説明

I stumbled upon this while searching for a solution to a particular issue of mine - Its connecting the base html element with the way cloudflare workers work and with the manifest.json#start_url attribute required for installation of PWAs.

I'm probably gonna find another solution, I mostly wanted to document this here as something that might be helpful in some situations. If its easy to implement it'd be great, otherwise its fine with me if this doesn't happen.

Data-Urls can be used to encode some things in the html document, that otherwise can't be inlined.

It'd be nice if these were supported with a data-* attribute by trunk.

コントリビューターガイド