Nx-Shopify
π An Nx plugin for developing performance-first Shopify themesπ
Be it you need to build a custom Shopify store theme, develop a generic theme or even maintain multiple stores/themes with shared code across them, this Nx plugin helps you power-up your development experience
Getting Started
Install the Nx CLI globally
# npm
$ npm install --global nx
# yarn
$ yarn add --global nx
# pnpm
$ pnpm install --global nx
Create an empty Nx workspace (or use an existing one)
$ npx create-nx-workspace my-org --preset=empty
$ cd ./my-org
Install the Nx-Shopify plugin as a devDependency
# npm
$ npm install --save-dev @trafilea/nx-shopify
# yarn
$ yarn add --save-dev @trafilea/nx-shopify
# pnpm
$ pnpm install --save-dev @trafilea/nx-shopify
Generate a Shopify theme using the Nx CLI
$ nx generate @trafilea/nx-shopify:theme my-theme
Check the generators and executors provided by the plugin
$ nx list @trafilea/nx-shopify
Documentation
-
π€ Read the full documentation on the docs site -
π Checkout the examples workspace
Contributors
Thanks goes to these wonderful people (emoji key):
Sebastian Duque Gutierrez |
Karen Santana |
Andisa Diaz |
Mauricio Vuljevas |
Jesus Salinas Vela |
Sophie |
Jibin Mathew |
This project follows the all-contributors specification. Contributions of any kind welcome!