@codesuma/baseline 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,6 +17,18 @@ npm install @codesuma/baseline
|
|
|
17
17
|
- **Tiny** - The entire framework is smaller than most framework's "hello world" bundle.
|
|
18
18
|
- **Stable** - No dependencies means no breaking changes from upstream.
|
|
19
19
|
|
|
20
|
+
## Examples
|
|
21
|
+
|
|
22
|
+
Baseline comes with built-in examples to help you get started:
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { CounterExample, TodoExample } from '@codesuma/baseline'
|
|
26
|
+
|
|
27
|
+
// Use them in your app
|
|
28
|
+
document.body.appendChild(CounterExample().el)
|
|
29
|
+
document.body.appendChild(TodoExample().el)
|
|
30
|
+
```
|
|
31
|
+
|
|
20
32
|
## Quick Start
|
|
21
33
|
|
|
22
34
|
```typescript
|
package/package.json
CHANGED