0.3.8 • Published 6 months ago

@elevio/kb-kit v0.3.8

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Introduction

What is the Elevio KB-Kit?

The Elevio (elev.io) KB-Kit is a toolkit for building your own knowledge base powered by Elevio.

It allows you to template your own custom Knowledge Base (KB) and gives you easy access to all of Elevio's smart features.

The kit handles all of the grunt work of making sure the correct page is rendered, the correct data is fetched and all the analytic events are sent so you can take advantage of Elevio insights.

How does it work?

KB-Kit uses React.js under the hood to render the content. However, don't worry if you only know HTML or CSS - this should be enough to get you started! This documentation will point out any differences to HTML/CSS where applicable.

Data is fetched in the background for you based on the URL you are currently visiting.

The data is then made available for you in one of two ways:

You can use "components" to grab the relevant part of the data you need. Example: print the article title to the page.

<Article.Title />

If you want access to the raw data then you can use the provided hooks. Example: use a hook to obtain article data.

const ArticlePage = () => {
const articleData = useArticle();
// Now you have access to the article data to do what you like with
}

Quick Start Guide

To begin make sure you have registered an account with Elevio.

You will need to have Node.js installed on your computer. We recommend using the latest version of Node.js.

Next, copy from the JavaScript starter repository:

https://github.com/dixahq/kb-javascript-starter

Alternatively you can copy from the TypeScript starter repository:

https://github.com/dixahq/kb-typescript-starter

To download a copy of the repository, simply click on the Code button then choose 'Download Zip'.

Once downloaded to your device, unzip the file.

Of course, you can also choose to clone the repository if you choose:

git clone git@github.com:dixahq/kb-javascript-starter.git

You may use any text editor or integrated development environment 'IDE' you wish. We recommend Visual Studio Code which is open source, has excellent intellisense prompting, and is free to use.

Within your IDE, open the settings.json file from the root and fill in your account id. You can find your account id here: https://app.elev.io/installation

There are many options you can fill into settings.json, see the Client Settings API reference documents for more information.

Next, install the required JavaScript modules by opening a terminal and running:

yarn
# or
npm i

This will install everything you need to start developing and deploying your KB.

Then to start working on your KB, in your terminal run this:

yarn start
# or
npm run start

Now open your web browser and visit http://localhost:4000. You should see a basic home page with a list of your categories, and any articles nested within those categories.

Then to see a change open the file src/pages/home.js and change something. Then hit save. Changes you make should occur automatically in your browser.

Read more

The documentation is located at https://kb-kit.elevio.help/en

If you have issues please contact us at support@elev.io

0.3.6

9 months ago

0.3.8

6 months ago

0.3.7

8 months ago

0.3.5

10 months ago

0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

12 months ago

0.3.3

1 year ago

0.2.3

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.2.2

1 year ago

0.1.38

2 years ago

0.1.31

2 years ago

0.1.32

2 years ago

0.1.33

2 years ago

0.1.35

2 years ago

0.1.36

2 years ago

0.1.37

2 years ago

0.1.30

2 years ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.29

2 years ago

0.1.25

2 years ago

0.1.26

2 years ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.22

2 years ago

0.1.23

2 years ago

0.1.24

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.15

2 years ago

0.1.15-beta.0

2 years ago

0.1.14

2 years ago

0.1.13

2 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.8

3 years ago

0.1.9

3 years ago

0.1.7

3 years ago

0.1.4

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.1.0-alpha.9

3 years ago

0.1.0-alpha.8

3 years ago

0.0.73

3 years ago

0.0.74

3 years ago

0.1.0-alpha.5

3 years ago

0.1.0-alpha.4

3 years ago

0.1.0-alpha.7

3 years ago

0.1.0-alpha.6

3 years ago

0.1.0-alpha.1

3 years ago

0.1.0-alpha.0

3 years ago

0.1.0-alpha.3

3 years ago

0.1.0-alpha.2

3 years ago

0.0.72

3 years ago

0.0.71

3 years ago

0.0.70

3 years ago

0.0.69

3 years ago

0.0.68

3 years ago

0.0.67

3 years ago

0.0.66

3 years ago

0.0.65

3 years ago

0.0.64

3 years ago

0.0.63

3 years ago

0.0.62

3 years ago

0.0.61

3 years ago

0.0.60

3 years ago

0.0.59

3 years ago

0.0.58

3 years ago

0.0.57

3 years ago

0.0.55

3 years ago

0.0.54

3 years ago

0.0.53

3 years ago

0.0.52

3 years ago

0.0.51

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.48

3 years ago

0.0.47

3 years ago

0.0.46

3 years ago

0.0.45

3 years ago

0.0.44

3 years ago

0.0.43

3 years ago

0.0.42

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.39

3 years ago

0.0.38

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.34

3 years ago

0.0.33

3 years ago

0.0.32

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago