האם ל-Discourse יש תבניות תוספים מותאמות אישית, וכיצד לכתוב תוסף מותאם אישית?

האם לדיסקרוס יש תבנית תוסף מותאמת אישית, וכיצד לכתוב תוסף מותאם אישית?

You need to have a Discourse development install. For example, Developing Discourse using a Dev Container

After install it, run

rake plugin:create[your-plugin-name]

It will pull discourse/discourse-plugin-skeleton: Template for Discourse plugins to generate a plugin with the most modern and recommend starting template.

5 לייקים

האם ניתן להשתמש ב-dev container כסביבת פיתוח עבור Discourse?

Yes, as linked above:

You can also run a dev env in Guthub Codespaces:

Using GitHub, the default shortcuts are not working. Where else can I operate?

Perhaps try selecting the terminal input and then pressing the keys?

If the shortcut keys still aren’t working, I think you may have to run the commands here: