Where do I find which versions of discourse support which plugin api version. Currently I am using pluginapi v 0.8 because I found it in discourse theme guide. But I haven’t been able to locate plugin api versions and their link with discourse versions.
「いいね!」 3
Not sure if this is the best way, but perhaps you can look at the plugin-api.js file (line 89) where the version number is listed:
const PLUGIN_API_VERSION = “0.12.3”
and compare that number across different commits of Discourse?
「いいね!」 1
Thank you that’s very helpful
「いいね!」 1
現在使用しているバージョン(3.2.0)のファイルは以下の場所にあるようです。
これは、使用すべきAPIのバージョンを見つけるための非常に分かりにくい方法です。
私のこれまでの経験では、間違ったバージョンを使用すると、スクリプトはサイレントにロードに失敗します。