npm install garden
bower install garden
As an alternative, you can manually download the source code for our latest release.
You can also use Garden through a CDN (Content Delivery Network) link, so you will not need to download and host the code within your application.
<link href="https://unpkg.com/garden/dist/css/garden.min.css" rel="stylesheet">
Garden main files are located on
dist/garden.min.js (It comes with all of the JS components bundled together). If you want to use components individually, you will have to build them as well.
/* css files are located at: garden/src/css/ */ @import "garden/src/atoms/button"; /* PostCSS import resolves bower_components/node_modules folder automatically */
// ES2015 import syntax: // You will have to point to your bundler where to resolve garden imports, or use directly from node_modules/bower_components: import file from 'garden/src/js/file';
garden.min.js does not come with jQuery. You have to add your own version of it.