Giter Club home page Giter Club logo

shopify-slater-tailwindcss's Introduction

Important note: Working on updated version of the boilerplate.

You might find this starter theme a little outdated and I am going to archive it soon.

The new starter theme will be based on some theme functionality from original Slater repo (including fixes/adjustments from issues and pull requests).

What's more important, It'll work without the complex setup from Slater and instead it'll be based on:

  • Laravel Mix 6
  • TailwindCSS 2
  • and original Shopify Theme Kit for quick updates

Stay tuned โœŒ


๐Ÿš€ Shopify Starter Theme + TailwindCSS with PurgeCSS

First of all, big thank your for guys at The Couch for creating Shopify development toolkit called Slater

I wanted to use Slater and TailwindCSS but couldn't make that work together. I had a project on the table with a start date NOW and decided to create this little temporary monster.

I took the Slater theme, integrated it with TailwindCSS + PurgeCSS and rewrite most of the markup to use css classes from TailwindCSS.

Note: the theme needs some love and it's still work in progress.

Requirements

Make sure all dependencies have been installed before moving on:

Quick start: Installation

Install Slater globally

  • npm i slater -g

Clone this repository and run

  • npm install to install dependencies (/root folder)
  • cd tailwind and npm install to install Tailwind depedencies (/tailwind folder)

Use CSS file

In order to edit the CSS file, go to /tailwind/src/main.css

Tasks

Task Name Description
npm run start Run all tasks and watch all relevant files for changes (PurgeCSS disabled)
npm run build Run all tasks, minify output so it's ready to push to production (PurgeCSS enabled)
slater sync Sync local files to your remote theme

Please run these tasks from root folder.

Copyright and license

MIT License ยฉ The Couch

Copyright 2019 Tomasz Bujnowicz under the MIT license.

shopify-slater-tailwindcss's People

Contributors

tomaszbujnowicz avatar dependabot[bot] 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.