README.md 872 Bytes
Newer Older
Jerome Chauveau's avatar
init  
Jerome Chauveau committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# zotero-vue-client

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
## component usage example

```
<zotero-query-component :default-id="1234" @entrySelected="selectedEntryCallback"/>
```

where default-id is a group or user id (https://www.zotero.org/support/dev/web_api/v3/basics)

Another example with custom options :

```
<zotero-query-component 
    :default-id="1234" 
    :options="{
        pageLength: 10,
        editableConfig: false,
        format: 'json'
      }"
    @entrySelected="selectedEntryCallback"/>
```

available formats : https://www.zotero.org/support/dev/web_api/v3/basics#export_formats 

Jerome Chauveau's avatar
init  
Jerome Chauveau committed
46
47
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).