-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8f900a6
Showing
17 changed files
with
7,562 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/node_modules |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Quark 官网 & 文档公共头部组件 | ||
|
||
https://www.npmjs.com/package/quark-doc-header | ||
|
||
|
||
## 如何使用 | ||
|
||
```js | ||
npm install quark-doc-header | ||
``` | ||
|
||
|
||
### 使用 | ||
|
||
无论是`Vue`,`React`,`Angular`还是`Jq`项目,该组件都可以被使用。 | ||
|
||
```js | ||
// 引入 | ||
import 'quark-doc-header/lib/index' | ||
|
||
// 使用 | ||
<quark-doc-header /> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
const plugins = [ | ||
['@babel/plugin-transform-runtime'], | ||
]; | ||
|
||
module.exports = { plugins } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link | ||
rel="icon" | ||
type="image/svg+xml" | ||
href="https://m.hellobike.com/resource/helloyun/12395/0USLE_quark.png?x-oss-process=image/quality,q_80" | ||
/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Hello Quark</title> | ||
<script type="module" src="./src/main.tsx"></script> | ||
<style> | ||
body { | ||
/* margin: 0; | ||
display: grid; | ||
justify-content: center; */ | ||
background-color: beige; | ||
} | ||
|
||
html, body { | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- This is your component (custom element). --> | ||
<quark-doc-header /> | ||
</body> | ||
</html> |
Oops, something went wrong.