Giter Site home page Giter Site logo

spryker-shop / styleguide Goto Github PK

View Code? Open in Web Editor NEW
1.0 8.0 0.0 1.59 MB

This npm module will automatically generate and serve a living styleguide for Spryker Shop atomic frontend.

License: MIT License

JavaScript 41.81% TypeScript 46.45% SCSS 11.75%
frontend livingstyleguide styleguide atomic-design spryker-shop

styleguide's Introduction

DEPRECATED!

Will be removed in 2024.

Spryker Shop Styleguide

This repository contains an alpha version of Spryker Shop Styleguide. The application is based on GatsbyJS.

Requirements

Use yarn instead of npm as recommended by GatsbyJS. Tested on node version 8.11 (see .nvmrc file in the repo).

Installation

To easily test/develop the application, download the repo and run yarn install from the root. Then move to ./plugins/gatsby-source-spryker-shop and run again yarn install to setup our custom Spryker source plugin. Take a look at the following steps for the usage.

Configuration

Go to ./gatsby-config.js:

    {
      resolve: 'gatsby-source-spryker-shop',
      options: {
        projectRootAbsolutePath: '/absolute/path/to/suite/project', // change this property
        componentPageTemplateRelativePath: 'src/templates/component.js'
      }
    }

Develop the plugin

Go to ./plugins/gatsby-source-spryker-shop:

yarn run build # will transpile the code once
yarn run watch # will transpile the code for every change

Navigate the styleguide

Go to ./:

yarn run develop

Follow the instrucion printed in the terminal to see the frontend and use GraphiQL. For more info about gatsby CLI, rely on the official documentation here.

styleguide's People

Contributors

tolerants avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.