Skip to content

Commit

Permalink
feat: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Aug 20, 2024
1 parent b74dac7 commit 2d0a8d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import "./lib/your-element"

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

- 单个 quarkc 组件,可以直接使用:
单个 quarkc 组件,可以直接使用:

```html
<!DOCTYPE html>
Expand All @@ -127,9 +127,8 @@ import "./lib/your-element"
</html>
```

- 需要使用多个 quarkc 组件,为了共用 quarkc 核心库
需要使用多个 quarkc 组件,为了共用 quarkc 核心库,您可以开启了 `external`

您可以开启了 `external`
```diff
// vite.config.build.ts
export default defineConfig({
Expand Down
5 changes: 2 additions & 3 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ import "./lib/your-element"

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

- 单个 quarkc 组件,可以直接使用:
单个 quarkc 组件,可以直接使用:

```html
<!DOCTYPE html>
Expand All @@ -127,9 +127,8 @@ import "./lib/your-element"
</html>
```

- 需要使用多个 quarkc 组件,为了共用 quarkc 核心库
需要使用多个 quarkc 组件,为了共用 quarkc 核心库,您可以开启了 `external`

您可以开启了 `external`
```diff
// vite.config.build.ts
export default defineConfig({
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quarkc",
"version": "2.1.6",
"version": "2.1.7",
"description": "A Web Components framework",
"type": "module",
"module": "./lib/index.js",
Expand Down

0 comments on commit 2d0a8d3

Please sign in to comment.