File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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文件)
Original file line number Diff line number Diff line change 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" ,
You can’t perform that action at this time.
0 commit comments