Code Monkey home page Code Monkey logo

prestashop-ui-kit's Introduction

PrestaShop UI Kit

UI Kit integration for PrestaShop โ€“ Based on Bootstrap 4.

prestashop-ui-kit

Installation

Note: If you use PrestaShop, there's no need to install โ€“ the UI kit is already installed in PrestaShop.

You can install the UI kit on your project, independently from PrestaShop, using NPM.

npm install --save-dev prestakit

Or use it directly through our CDN:

[...]
<link href="https://ui-kit.prestashop.com/backoffice/latest/css/bootstrap-prestashop-ui-kit.css" rel="stylesheet">
<script src="https://ui-kit.prestashop.com/backoffice/latest/js/prestashop-ui-kit.js"></script>
[...]

Get Started

Include the dependencies: jQuery and Bootstrap PrestaShop UI Kit + Javascript.

[...]
<link href="dist/css/bootstrap-prestashop-ui-kit.css" rel="stylesheet">
<script src="dist/js/prestashop-ui-kit.js"></script>
[...]

Github dev Dependencies

pstagger

Contributing / Improving the UI Kit

Contributions are welcome!

You can check out an example of most of the included controls in this page. Check out a live example here.

Developing with PrestaShop

You can develop on your local copy of the UI kit and see how the changes work on PrestaShop. Assuming you already have a local copy of PrestaShop and of the UI kit installed on your computer (each on its own directory), here's what you need to do.

Open up admin-dev/themes/new-theme/package.json of your PrestaShop install, and look for "prestakit"

{
  // ...
  prestakit: "1.2.3";
  // ...
}

Change the version so it looks like this:

{
  prestakit: "/path/to/your/local/ui-kit";
}

Go back to to your UI kit folder and run

npm run watch

In another console, go to admin-dev/themes/new-theme/ of your PrestaShop install, and run:

npm install && npm run watch

If you keep both instances of NPM running, all your changes in the UI kit will be built automatically, as will your PrestaShop assets.

About PrestaShop

PrestaShop is a free and Open Source e-commerce web application written in PHP, committed to providing the best shopping cart experience for both merchants and customers. Learn more about PrestaShop

License

This UI Kit is released under the OSL-3.0 License.

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.