-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(web-components): fix web-components build
- Loading branch information
1 parent
4bc818c
commit d5f1e0f
Showing
8 changed files
with
52 additions
and
51 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,35 @@ | ||
[GO TO README HERE](./src/README.md) | ||
# @octra/web-components | ||
|
||
This library offers the same components from @octra/ngx-components without the limitation of using it in Angular projects. | ||
|
||
## Installation | ||
|
||
### Vanilla JS (plain Javascript) | ||
Currently, the libraries are not published on npm because Octra 2.0 and the libraries are still in development. If you | ||
want to use the libraries in your project you have to manually install. | ||
|
||
1. Clone the OCTRA repository next to the project folder you want to use the libraries for. | ||
2. Switch tu branch "static". | ||
|
||
```shell | ||
git checkout static | ||
``` | ||
|
||
3. Add to HTML file ([see full example here](../../../apps/web-components-demo/index.html)). | ||
|
||
````html | ||
<head> | ||
<!-- ... --> | ||
<script type="application/javascript" src="../octra/libs/web-components/web-components.js"></script> | ||
<!-- ... --> | ||
</head> | ||
```` | ||
|
||
## Update | ||
|
||
1. Go to the cloned octra repository. Make sure you are in branch `static`. | ||
2. Update directory: | ||
|
||
```shell | ||
git pull | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters