This repository was archived by the owner on Mar 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,10 @@ Where you want your WebComponent to appear, add the following:
26
26
27
27
Some notes on usage:
28
28
29
- - ` geneId ` value must must be an identifier for a gene. You can replace it
30
- with your favourite gene id instead!
29
+ - Download the bundle.js file from dist folder and link it to your index.html file.
30
+ - You may use the style.css in dist folder file for styling the component.
31
+ - Use the <<%= toolNameComputer %> element like any other HTML element wherever you want.
32
+ - ` attribute ` must be a valid identifier with a valid ` value ` .
31
33
32
34
33
35
## Licence
@@ -40,7 +42,7 @@ with your favourite gene id instead!
40
42
1 . Clone the repo
41
43
2 . ` cd <%= toolNameComputer %> ` and then ` npm install ` to install dependencies.
42
44
43
- All of the editable source files for css and js are in ` src ` . To bundle for prod, run the following commands:
45
+ All of the editable source files for css and js are in ` src ` . To bundle for prod, run the following commands in the given order :
44
46
45
47
#### CSS
46
48
@@ -72,6 +74,6 @@ To serve your page at [http://localhost:3456](http://localhost:3456):
72
74
``` bash
73
75
npm run server
74
76
```
75
- #### Example comonent
77
+ #### Example component
76
78
To see a demo component implemented similarly to this component, visit
77
79
[ biojs-webcomponent-prototype] ( https://github.com/yochannah/biojs-webcomponent-prototype ) .
You can’t perform that action at this time.
0 commit comments