0.3.5 • Published 8 months ago

@snailicide/g-shopify-library v0.3.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@snailicide/g-shopify-library 🐌

This plugin enables Shopify theme developers to structure their code into "module" folders which keep Liquid template files (snippets and sections) organized together with their corresponding JS or CSS, while retaining the standard file structure of Shopify themes. Please see Inspiration section for more info and backstory!

Repository

snailicide-monorepo

Author

👤 Gillian Tunney

🐌

Collections of types and utilities for working with Shopify

Table of contents generated with markdown-toc

Features

  • Generic functions for Storefront API, Shopify MediaURLs, etc
  • Section Schema types and validators (using zod)

Usage

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

#npm
npm i @snailicide/g-shopify-library -D

# yarn
yarn add @snailicide/g-shopify-library -D

# pnp
pnpm add @snailicide/g-shopify-library -D

Helpful Links

To-Do

  • Presets (in new version)
  • Documentation

Bugs

Please create an issue if you found any bugs, to help us improve this project!