You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the command `onepunch update` the user will update files in the `src` directory according to the latest release of onepunch.
Please note that any custom change inside directory `src` will be overwritten. In order to prevent accidental deletions, the command ckecks the presence of file `onepunch.json`, if the file is not present the command aborts.
Please note that onepunch makes use of [puppeteer](https://github.com/puppeteer/puppeteer/), which will download chromium. This is necessary to print the PDF file.
18
18
19
+
Update **onepunch** to the latest release with:
20
+
21
+
```
22
+
$ npm update -g @nextbitlabs/onepunch
23
+
```
24
+
19
25
### Create a project
20
26
21
27
```
@@ -42,6 +48,21 @@ Inside the project directory, run:
42
48
$ onepunch print
43
49
```
44
50
51
+
### Update
52
+
53
+
Update files in the `src` directory according to the latest release of **onepunch**, please note that any custom change inside directory `src` will be overwritten:
54
+
55
+
```
56
+
$ onepunch update
57
+
```
58
+
59
+
The above command assumes you have installed the latest release of **onepunch**.
60
+
If this is not the case, update **onepunch** to the latest release with:
61
+
62
+
```
63
+
$ npm update -g @nextbitlabs/onepunch
64
+
```
65
+
45
66
### Create custom styles
46
67
47
68
Each slide is created by means of tag `article`, for example:
0 commit comments