├── htdocs //dest ディレクトリ( static )
├── pug //static develop ディレクトリ
├── scss //develop styleing
├── theme //theme for Shopify
└── theme_export__rishry-com-boost-commerce-live-theme-with-filter-search-1__25NOV2021-0357pm //開発中テーマ
├──
テーマ新規インストール
$ shopoify theme init [テーマの名前]
起動
- ターミナルで、インストールしたテーマディレクトリに移動
- shopify login –store https://example.myshopify.com/ で目的のストアにログイン
shopify theme serve
でローカル内で環境立ち上げ- ターミナル内に
Viewing theme…
という枠線で囲まれたURL情報が出力されるので、必要に応じてテーマにアクセスする - 作業を終えたり休止したりする場合は、
Ctrl+C
でtheme serveを止める
$ shopify theme push --publish
// 未公開テーマとしてテーマライブラリ内に登録
$ shopify theme push --unpublished