1.1.2 • Published 21 days ago

@cubejs-client/playground v1.1.2

Weekly downloads
807
License
MIT
Repository
github
Last release
21 days ago

WebsiteDocsBlogSlackTwitter

npm version GitHub Actions

Cube.js Playground

UI for Cube.js development server environment.

Learn more

React Components

@cubejs-client/playground provides standalone components you can embed in your application.

import { QueryBuilder } from '@cubejs-client/playground';
// import the antd styles from the `@cubejs-client/playground` package as it overrides some variables
import '@cubejs-client/playground/lib/antd.min.css';
// alternatively you can use the default antd styles
// import 'antd/dist/antd.min.css';

const apiUrl = 'http://localhost:4000/cubejs-api/v1';
const token = 'your.token';

export default function App() {
  const query = {
    measures: ['Orders.count'],
    dimensions:  ['Orders.status']
  };

  return (
    <QueryBuilder
      apiUrl={apiUrl}
      token={token}
      initialVizState={{
        query
      }}
    />
  );
}

Also, you will need to move the Playground chart renderers to a public folder. Assuming the publicly accessible folder is public, you can execute the following script from the root of your application

#!/bin/bash

rm -rf ./public/chart-renderers 2> /dev/null
cp -R ./node_modules/@cubejs-client/playground/public/chart-renderers ./public

License

Cube.js Client Core is MIT licensed.

1.1.2

21 days ago

1.1.1

23 days ago

1.0.2

1 month ago

1.0.0

1 month ago

0.36.4

2 months ago

0.36.8

1 month ago

0.36.2

2 months ago

0.36.1

2 months ago

0.36.0

2 months ago

0.35.81

2 months ago

0.35.48

5 months ago

0.35.33

6 months ago

0.35.23

7 months ago

0.35.5

8 months ago

0.35.0

8 months ago

0.34.60

9 months ago

0.34.58

9 months ago

0.34.51

10 months ago

0.34.50

10 months ago

0.34.46

10 months ago

0.34.43

11 months ago

0.34.37

11 months ago

0.34.32

12 months ago

0.34.27

12 months ago

0.34.20

1 year ago

0.33.59

1 year ago

0.33.58

1 year ago

0.34.24

1 year ago

0.33.55

1 year ago

0.34.19

1 year ago

0.34.14

1 year ago

0.33.47

1 year ago

0.33.44

1 year ago

0.34.2

1 year ago

0.34.0

1 year ago

0.34.9

1 year ago

0.33.26

1 year ago

0.33.5

2 years ago

0.33.2

2 years ago

0.33.0

2 years ago

0.33.12

2 years ago

0.32.30

2 years ago

0.32.24

2 years ago

0.32.22

2 years ago

0.32.18

2 years ago

0.32.17

2 years ago

0.32.15

2 years ago

0.32.12

2 years ago

0.32.0

2 years ago

0.31.64

2 years ago

0.31.63

2 years ago

0.31.60

2 years ago

0.31.56

2 years ago

0.31.52

2 years ago

0.31.46

2 years ago

0.31.33

2 years ago

0.31.34

2 years ago

0.31.35

2 years ago

0.31.9

2 years ago

0.31.13

2 years ago

0.31.14

2 years ago

0.31.15

2 years ago

0.31.18

2 years ago

0.31.31

2 years ago

0.31.30

2 years ago

0.31.21

2 years ago

0.31.22

2 years ago

0.31.8

2 years ago

0.31.1

2 years ago

0.31.0

2 years ago

0.30.74

2 years ago

0.30.75

2 years ago

0.30.64

2 years ago

0.30.69

2 years ago

0.30.60

2 years ago

0.30.45

2 years ago

0.30.46

2 years ago

0.30.40

2 years ago

0.30.30

2 years ago

0.30.31

2 years ago

0.30.29

2 years ago

0.30.16

2 years ago

0.30.7

2 years ago

0.30.5

3 years ago

0.30.4

3 years ago

0.30.0

3 years ago

0.29.54

3 years ago

0.29.53

3 years ago

0.29.50

3 years ago

0.29.51

3 years ago

0.29.43

3 years ago

0.29.48

3 years ago

0.29.42

3 years ago

0.29.33

3 years ago

0.29.29

3 years ago

0.29.0

3 years ago

0.29.8

3 years ago

0.29.5

3 years ago

0.29.4

3 years ago

0.29.3

3 years ago

0.29.2

3 years ago

0.29.1

3 years ago

0.28.67

3 years ago

0.28.66

3 years ago

0.28.65

3 years ago

0.29.23

3 years ago

0.29.24

3 years ago

0.29.21

3 years ago

0.29.26

3 years ago

0.28.62

3 years ago

0.28.57

3 years ago

0.28.53

3 years ago

0.28.52

3 years ago

0.28.45

3 years ago

0.28.42

3 years ago

0.28.47

3 years ago

0.28.39

3 years ago

0.28.38

3 years ago

0.28.37

3 years ago

0.28.36

3 years ago

0.28.35

3 years ago

0.28.33

3 years ago

0.28.32

3 years ago

0.28.31

3 years ago

0.28.30

3 years ago

0.28.29

3 years ago

0.28.28

3 years ago

0.28.27

3 years ago

0.28.25

3 years ago

0.28.24

3 years ago

0.28.23

3 years ago

0.28.22

3 years ago

0.28.21

3 years ago

0.28.19

3 years ago

0.28.18

3 years ago

0.28.17

3 years ago

0.28.16

3 years ago

0.28.15

3 years ago

0.28.14

3 years ago

0.28.13

3 years ago

0.28.10

3 years ago

0.28.9

3 years ago

0.28.7

3 years ago

0.28.6

3 years ago

0.28.5

3 years ago

0.28.4

3 years ago

0.28.1

3 years ago

0.28.0

3 years ago

0.27.53

3 years ago

0.27.51

3 years ago

0.27.50

3 years ago

0.27.49

3 years ago

0.27.48

3 years ago

0.27.47

3 years ago

0.27.44

3 years ago

0.27.45

3 years ago

0.27.41

3 years ago

0.27.39

3 years ago

0.27.36

3 years ago

0.27.35

3 years ago

0.27.33

3 years ago

0.27.32

3 years ago

0.27.31

3 years ago

0.27.30

3 years ago

0.27.22

3 years ago

0.27.21

3 years ago

0.27.26

3 years ago

0.27.25

3 years ago

0.27.24

3 years ago

0.27.20

4 years ago

0.27.19

4 years ago

0.27.17

4 years ago

0.27.16

4 years ago

0.27.15

4 years ago

0.27.14

4 years ago

0.27.13

4 years ago

0.27.2

4 years ago

0.27.1

4 years ago

0.27.0

4 years ago

0.27.9

4 years ago

0.27.8

4 years ago

0.27.6

4 years ago

0.27.5

4 years ago

0.27.4

4 years ago

0.26.103

4 years ago

0.26.102

4 years ago

0.26.98

4 years ago

0.26.96

4 years ago

0.26.95

4 years ago

0.26.94

4 years ago

0.26.93

4 years ago

0.26.90

4 years ago

0.26.84

4 years ago

0.26.85

4 years ago

0.26.81

4 years ago

0.26.82

4 years ago

0.26.75

4 years ago

0.26.73

4 years ago

0.26.70

4 years ago

0.26.69

4 years ago

0.26.63

4 years ago

0.26.61

4 years ago

0.26.60

4 years ago

0.26.57

4 years ago

0.26.58

4 years ago

0.26.55

4 years ago

0.26.54

4 years ago

0.26.53

4 years ago

0.26.49

4 years ago

0.26.46

4 years ago

0.26.47

4 years ago

0.26.45

4 years ago

0.26.43

4 years ago

0.26.41

4 years ago

0.26.36

4 years ago

0.26.34

4 years ago

0.26.19

4 years ago

0.26.17

4 years ago

0.26.18

4 years ago

0.26.13

4 years ago

0.26.11

4 years ago

0.26.9

4 years ago

0.26.10

4 years ago

0.26.8

4 years ago

0.26.7

4 years ago

0.26.6

4 years ago

0.26.3

4 years ago

0.26.0

4 years ago

0.25.32

4 years ago

0.25.31

4 years ago

0.25.22

4 years ago

0.25.21

4 years ago

0.25.18

4 years ago

0.25.15

4 years ago

0.25.14

4 years ago

0.25.12

4 years ago

0.25.2

4 years ago

0.25.1

4 years ago

0.25.0

4 years ago

0.24.14

4 years ago

0.24.13

4 years ago

0.24.12

4 years ago

0.24.11

4 years ago

0.24.10

4 years ago

0.24.9

4 years ago

0.24.8

4 years ago

0.24.5

4 years ago

0.24.4

4 years ago

0.24.0

4 years ago

0.23.15

4 years ago

0.23.14

4 years ago

0.23.12

4 years ago

0.23.11

4 years ago

0.23.10

4 years ago

0.23.8

4 years ago

0.23.6

4 years ago

0.23.3

4 years ago

0.23.0

4 years ago

0.22.2

4 years ago

0.22.1

4 years ago

0.22.0

4 years ago

0.21.2

4 years ago

0.21.1

4 years ago

0.21.0

4 years ago

0.20.12

4 years ago

0.20.11

4 years ago

0.20.10

4 years ago

0.20.9

4 years ago

0.20.8

4 years ago

0.20.6

4 years ago

0.20.5

4 years ago

0.20.1

4 years ago

0.20.3

4 years ago

0.20.2

4 years ago

0.20.0

4 years ago

0.19.61

4 years ago

0.19.57

4 years ago

0.19.59

4 years ago

0.19.56

4 years ago

0.19.55

4 years ago

0.19.54

4 years ago

0.19.53

4 years ago

0.19.51

4 years ago

0.19.50

4 years ago

0.19.48

4 years ago

0.19.49

4 years ago

0.19.47

4 years ago

0.19.43

4 years ago

0.19.42

4 years ago

0.19.41

4 years ago

0.19.40

4 years ago

0.19.38

4 years ago

0.19.37

4 years ago

0.19.35

4 years ago

0.19.31

4 years ago

0.19.32

4 years ago

0.19.29

4 years ago

0.19.23

4 years ago

0.19.22

4 years ago

0.19.20

5 years ago

0.19.19

5 years ago

0.19.16

5 years ago

0.19.14

5 years ago

0.19.13

5 years ago

0.19.12

5 years ago

0.19.9

5 years ago

0.19.7

5 years ago

0.19.0

5 years ago

0.18.30

5 years ago

0.18.18

5 years ago

0.18.14

5 years ago

0.18.7

5 years ago

0.18.5

5 years ago

0.18.4

5 years ago

0.18.3

5 years ago

0.18.0

5 years ago

0.17.10

5 years ago

0.17.9

5 years ago

0.17.8

5 years ago

0.17.6

5 years ago

0.17.3

5 years ago

0.17.4

5 years ago

0.17.0

5 years ago

0.15.4

5 years ago

0.15.2

5 years ago

0.15.0

5 years ago

0.14.0

5 years ago

0.13.12

5 years ago

0.13.9

5 years ago

0.13.7

5 years ago

0.13.5

5 years ago

0.13.3

5 years ago

0.13.0

5 years ago

0.12.2

5 years ago

0.12.1

5 years ago

0.12.0

5 years ago

0.11.25

5 years ago

0.11.24

5 years ago

0.11.21

5 years ago

0.11.18

5 years ago

0.11.13

5 years ago

0.11.12

5 years ago

0.11.10

5 years ago

0.11.9

5 years ago

0.11.7

5 years ago

0.11.4

5 years ago

0.11.3

5 years ago

0.11.2

5 years ago

0.11.0

5 years ago

0.10.61

5 years ago

0.10.59

5 years ago

0.10.58

5 years ago

0.10.57

5 years ago

0.10.56

5 years ago

0.10.55

5 years ago

0.10.53

5 years ago

0.10.46

5 years ago

0.10.44

5 years ago

0.10.43

5 years ago

0.10.24

5 years ago

0.10.20

5 years ago

0.10.17

5 years ago

0.10.16

5 years ago

0.10.15

5 years ago

0.10.13

5 years ago

0.10.12

5 years ago

0.10.9

5 years ago

0.10.0

5 years ago

0.9.16

5 years ago

0.9.14

5 years ago

0.9.12

5 years ago

0.9.11

5 years ago

0.9.6

6 years ago

0.9.0

6 years ago

0.8.7

6 years ago

0.8.6

6 years ago

0.8.4

6 years ago

0.8.1

6 years ago

0.8.0

6 years ago

0.7.10

6 years ago

0.7.9

6 years ago

0.7.7

6 years ago

0.7.6

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.7.0

6 years ago

0.6.2

6 years ago

0.6.1

6 years ago

0.6.0

6 years ago

0.5.2

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.1

6 years ago

0.3.5-alpha.0

6 years ago

0.3.3

6 years ago

0.3.1

6 years ago