161k views
3 votes
If you are running Yarn, which Slate command will generate a new Slate project?

a. yarn create slate-theme my-new-theme
b. yarn slate create-theme my-new-theme
c. yarn slate build-theme my-new-theme
d. yarn create slate-build my-new-theme

1 Answer

2 votes

Final answer:

The correct Slate command to generate a new Slate project when running Yarn is 'yarn create slate-theme my-new-theme'.

Step-by-step explanation:

The correct Slate command to generate a new Slate project when running Yarn is yarn create slate-theme my-new-theme. This command creates a new Slate theme and names it 'my-new-theme'. It is important to note that the Slate command syntax may vary depending on the version and configuration of Slate being used.

User Sadljkfhalskdjfh
by
7.3k points