Opened 2 years ago
Closed 2 years ago
#57353 closed defect (bug) (invalid)
Regarding create-block for dynamic block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | close |
Focuses: | Cc: |
Description (last modified by )
Hello! I want to create a block
npx @wordpress/create-block miho-dynamic --variant dynamic
to create a block, but the terminal says
Error: unknown option '--variant'
Do you know how to solve this problem? Thank you :).
Original:
こんにちは!私はブロックを作成するためにnpx @wordpress/create-block miho-dynamic --variant dynamicと入力しましたが、ターミナルは「エラー:不明なオプション '--variant'」と表示します。 この問題に対する解決方法をご存知ですか? ありがとうございます:).
Change History (4)
#2
follow-up:
↓ 3
@
2 years ago
- Component changed from General to Editor
- Description modified (diff)
- Keywords close added
Hi and welcome to Trac!
Help requests usually belong in the Fixing WordPress support forum (or you could use the equivalent Japanese forum).
The create-block documentation page indicates that it should work with a space. However, the developer note uses an equal sign:
npx @wordpress/create-block custom-block --variant=dynamic
You may want to try that first.
Note: See
TracTickets for help on using
tickets.
Sorry! I submit my message in Japanese by mistake :0
What I wrote was here