ddev startddev build
The site will be available at https://packt.ddev.site and Storybook will be available at https://packt.ddev.site:6006.
When developing, you can use the following commands:
ddev browsersyncto start the browser sync server (site is then available at https://packt.ddev.site:3000)- (on a new tab)
ddev watchto watch for changes in the theme and compile them - (on a new tab)
ddev storybook-watchto watch for changes in the Storybook stories and compile them
export-contentto export the content of the sitestorybook-lintto lint the Storybook storiestheme [command]to run a command in the theme directorybackstop-initto initialize BackstopJSbackstopto run BackstopJS