-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: added development notes and github pages
- Loading branch information
1 parent
7af6d6b
commit f59271c
Showing
3 changed files
with
195 additions
and
21 deletions.
There are no files selected for viewing
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,30 +1,18 @@ | ||
![medblocks ui logo](./public/medblocks-ui-medium.png) | ||
|
||
# Medblocks UI | ||
Web Components for rapid development of openEHR systems. Use any framework, just import the web components and use. | ||
Web Components for rapid development of openEHR systems. Read this blog post and watch this video to know more. | ||
|
||
# Configure your component here: | ||
Include the script from a CDN | ||
``` | ||
# Development | ||
- This is a Svelte + Typescript project. It's a very easy framework to get started with if you know HTML, CSS and Javascript. | ||
- Bulma is being used as the CSS framework. You can customize it at `src/css/main.scss`. | ||
- The `docgen.js` script automatically generate component customization values from JSDocs within `.svelte` files. The output is at `jsdocs.json`. The script is automatically run before `npm run build` and `npm run dev`. | ||
|
||
## Install | ||
``` | ||
or install using npm | ||
```sh | ||
npm install medblocks-ui | ||
npm install | ||
``` | ||
|
||
# Include it in your web app | ||
|
||
```html | ||
|
||
<medblocks-composition template={}/> | ||
<script></script> | ||
|
||
``` | ||
|
||
|
||
# For developers | ||
This is a Svelte project. It's a very easy framework to get started with if you know HTML, CSS and Javascript. | ||
## Start development server | ||
``` | ||
npm run dev | ||
``` | ||
``` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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