1.0.8 • Published 6 years ago

generator-bookingbug v1.0.8

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

generator-bookingbug

A Yeoman generator to create a BookingBug project.

By editing the html files in templates and the scss files in stylesheets you can customise the booking widget to suit your requirements.

Create your project

To work with latest BookingBug SDK version 3.x.x : 1. Install latest node LTS version node 8.x, npm 5.x 2. Install required npm tools and BookingBug generator version 1.. npm install -g gulp-cli yo generator-bookingbug 3. To create new project trigger generator: yo bookingbug

To work with BookingBug SDK version 2.x.x: 1. Please use: node 6.x, npm 3.x 2. Install required npm tools and BookingBug generator version 0.. npm install -g gulp-cli yo generator-bookingbug@0.5.2 3. To create new project trigger generator: yo bookingbug

Please trigger yo bookingbug --help to find out about available options.

Editing Style

Basic styling can be changed be editing a projects Bootstrap and BB sass variables. To override the styling of Bootstrap/SDK components or add additional styling, make edits to the theme scss file created by the generator.

Editing Templates

Templates are loaded via a projects dependency to the SDK. In order to edit them, take copies of the templates and add them to the sdk-templates directory.

Booking Projects

When building a booking widget, projects use "step templates" which are loaded within a single "main" template. Step templates represent the different steps in a booking journey whereas the "main" template acts a wrapper for the step templates defining components such as headers, breadcrumbs, alerts and footers.

To determine the current step template when running a project, use Batarang in the Chrome console to access the scoped variable that stores the currently loaded step, e.g. $scope.bb.current_page

Further Documentation

  1. SDK Usage Guide
1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.5.2

7 years ago

0.5.1

7 years ago

0.5.0

7 years ago

0.4.20

7 years ago

0.4.19

7 years ago

0.4.18

7 years ago

0.4.17

7 years ago

0.4.16

7 years ago

0.4.15

7 years ago

0.4.14

7 years ago

0.4.13

7 years ago

0.4.12

8 years ago

0.4.11

8 years ago

0.4.10

8 years ago

0.4.9

8 years ago

0.4.8

8 years ago

0.4.7

8 years ago

0.4.6

8 years ago

0.4.5

8 years ago

0.4.4

8 years ago

0.4.3

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.9

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago