@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.
Files changed (2) hide show
  1. package/README.md +12 -0
  2. 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesuma/baseline",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "A minimal, imperative UI framework for building fast web apps. No virtual DOM, no magic, no dependencies.",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",