Skip to content

Commit 28366bb

Browse files
committed
feat: update readme
1 parent bf096f0 commit 28366bb

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/core/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ npm run build
8888

8989
此时,构建产物 `lib/` 下的资源可以直接被任何框架的前端项目中使用。
9090

91-
### 4、像常规html标签一样去使用它
91+
### 4、使用
9292

9393
##### (1)含有工程管理的前端项目(含有package.json/node_modules等文件)
9494
```jsx
@@ -98,16 +98,16 @@ import "./lib/your-element"
9898
<my-element count="count" />
9999

100100
// vue
101-
<my-element :count="count" />
101+
// <my-element :count="count" />
102102

103103
// react
104-
<my-element count={count} />
104+
// <my-element count={count} />
105105

106106
// svelte
107-
<my-element {count} />
107+
// <my-element {count} />
108108

109109
// angular
110-
<my-element [count]="count" />
110+
// <my-element [count]="count" />
111111
```
112112

113113
##### (2)无工程管理的前端项目(不含有package.json/node_modules等文件,纯HTML+CSS+JS文件)

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quarkc",
3-
"version": "2.1.7",
3+
"version": "2.1.8",
44
"description": "A Web Components framework",
55
"type": "module",
66
"module": "./lib/index.js",

0 commit comments

Comments
 (0)