|
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | 6 |
|
| 7 | + <title>LexWebUi Demo</title> |
| 8 | + |
7 | 9 | <!-- Font Dependencies --> |
8 | 10 | <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons" rel="stylesheet" type="text/css"> |
9 | 11 | <!-- CSS Dependencies --> |
10 | | - <link href="https://unpkg.com/vuetify/dist/vuetify.min.css" rel="stylesheet" type="text/css"> |
| 12 | + <link href="https://unpkg.com/vuetify@0.14.7/dist/vuetify.min.css" rel="stylesheet" type="text/css"> |
11 | 13 |
|
12 | 14 | <!-- LexWebUi CSS --> |
13 | 15 | <link href="./lex-web-ui.min.css" rel="stylesheet" type="text/css"> |
|
27 | 29 | <div id="lex-web-ui"></div> |
28 | 30 |
|
29 | 31 | <!-- JavaScript Dependencies --> |
30 | | - <script src="https://sdk.amazonaws.com/js/aws-sdk-2.88.0.min.js"></script> |
31 | | - <script src=" https://unpkg.com/[email protected].1" ></script> |
| 32 | + <script src="https://sdk.amazonaws.com/js/aws-sdk-2.92.0.min.js"></script> |
| 33 | + <script src=" https://unpkg.com/[email protected].2" ></script> |
32 | 34 | <script src=" https://unpkg.com/[email protected]" ></script> |
33 | | - <script src=" https://unpkg.com/[email protected]" ></script> |
| 35 | + <!-- see vuetify CSS under HEAD --> |
| 36 | + <script src=" https://unpkg.com/[email protected]" ></script> |
34 | 37 |
|
35 | 38 | <!-- LexWebUi Library --> |
36 | 39 | <script src="./lex-web-ui.js"></script> |
37 | 40 | <script> |
38 | 41 | const lexWebUi = new LexWebUi.Loader({ |
39 | | - /* pass your own configuration |
40 | 42 | cognito: { |
41 | | - poolId: 'us-east-1:deadbeef-fade-babe-cafe-0123456789ab', |
| 43 | + /* pass your own Cognito pool ID */ |
| 44 | + // poolId: 'us-east-1:deadbeef-fade-babe-cafe-0123456789ab', |
42 | 45 | }, |
43 | 46 | lex: { |
44 | | - botName: 'myLexHelpBot', |
| 47 | + /* pass the name of your own Lex bot */ |
| 48 | + // botName: 'myLexHelpBot', |
45 | 49 | initialText: 'How can I help you?', |
46 | | - initialSpeechInstruction: 'How can I help'? |
| 50 | + initialSpeechInstruction: 'How can I help?', |
47 | 51 | }, |
48 | 52 | ui: { |
49 | 53 | toolbarTitle: 'Help Bot', |
50 | 54 | toolbarLogo: '', |
51 | 55 | }, |
52 | | - */ |
53 | 56 | }); |
54 | 57 |
|
55 | 58 | new Vue({ |
|
0 commit comments