Skip to content

Commit

Permalink
Add template usage instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nielssp committed Apr 26, 2024
1 parent 50d2dda commit ee6be38
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ The API documentaion is available here: https://nielssp.github.io/cytoplasmic/
- [Counter (7GUIs)](https://codesandbox.io/p/sandbox/shy-water-6j53j5)
- [Temperature Converter (7GUIs)](https://codesandbox.io/p/sandbox/objective-leavitt-2hw7hn)

## Getting started

To set up a minimal Cytoplasmic project using [Vite](https://vitejs.dev/) for bundling, you can type the following commands:

```
npx degit nielssp/cytoplasmic/template my-app
cd my-app
npm install
npm run dev
```

## First component

Cytoplasmic allows you to create DOM-elements using JSX-syntax.
Expand Down
3 changes: 2 additions & 1 deletion template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
Clone template:

```
npx degit nielssp/cytoplasmic/template
npx degit nielssp/cytoplasmic/template my-app
cd my-app
```

Install dependencies:
Expand Down

0 comments on commit ee6be38

Please sign in to comment.