Polaris 是 Shopify 的体验平台,该存储库专注于集中系统、文档和基础。
确保计算机上安装了 Git 和 Node.js,然后运行以下命令开始:
$ git clone https://github.com/Shopify/polaris.git # git clone repository $ cd polaris # access the files $ npm install # install dependencies $ npm run dev # run polars.shopify.com locally
我们创建了一个用于共享和测试布局组件的初始版本:Box、Grid、Flex 等。您可以查看有关如何使用它们的示例,并在Layout Experimental CodeSandbox 中亲自尝试一下。
请参阅此讨论以了解如何在您自己的项目中使用实验组件。
随着我们不断迭代和发展,这些技术可能会发生变化。目前,polaris.shopify.com 使用以下技术构建:
shopify by Igor Petrov 通过伊戈尔·彼得罗夫(Igor Petrov) 如何构建您的第一个Shopify应用 (How to build your first Shopify app) 为什么要构建Shopify应用程序? (Why build a Shopify App?) I have always been excited about how the e-commerc
Dawn 代表了一种以 HTML 为先,只需要 JavaScript 的主题开发方法。它是 Shopify 第一个内置性能、灵活性和 Online Store 2.0 功能的可用主题源,并作为构建 Shopify 主题的参考。 特性: 最纯粹形式的网络原生 精益、快速和可靠 JavaScript 不是必需的 服务器呈现 功能性 入门 Fork 存储库并克隆它: git clone git@gith
Shopify Packer Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, comes with starter themes and compatible with existing Shopify sites. Features Webp
Laravel Shopify App A full-featured Laravel package for aiding in Shopify App development, similar to shopify_app for Rails. Works for Laravel 7 and up. Table of Contents * Wiki pages Goals Documentat
Shopify ThemeKit - Webpack Development tool for Shopify using webpack and themekit. Check out the node package version: Shopify Packer Requirements Getting Started Theme files Commands Features Ready
generator-shopify-nextjs A Yeoman generator for Serverless Shopify apps using Next.js, Koa, Prisma GraphQL & Shopify's Polaris The Stack next.js koa koa-shopify-auth koa-shopify-graphql-proxy Polaris
@shopify/koa-shopify-auth Middleware to authenticate a Koa application with Shopify. Sister module to @shopify/shopify-express, but simplified. Features you might know from the express module like the