Skip to content

Commit 173d930

Browse files
authored
Add Quick Start section to README
Added a Quick Start section with usage examples for ccmjs.
1 parent 574c0c1 commit 173d930

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ Unlike typical frontend frameworks, **ccmjs operates entirely at runtime** and d
1313

1414
Components can be loaded, configured, and composed dynamically at runtime — even across different framework versions.
1515

16+
# 🚀 Quick Start
17+
18+
Include ccmjs:
19+
20+
```html
21+
<script src="https://ccmjs.github.io/framework/ccm.js"></script>
22+
```
23+
24+
Start a component:
25+
26+
```js
27+
ccm.start(component, config, document.body);
28+
```
29+
1630
# What is CCM?
1731

1832
The **Client-side Component Model (CCM)** is an architectural approach for building web applications from independent, reusable components that are composed at runtime.

0 commit comments

Comments
 (0)