Skip to content

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed May 26, 2023
0 parents commit 8f900a6
Show file tree
Hide file tree
Showing 17 changed files with 7,562 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
Empty file added .npmignore
Empty file.
23 changes: 23 additions & 0 deletions README.md
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 />
```
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const plugins = [
['@babel/plugin-transform-runtime'],
];

module.exports = { plugins }
30 changes: 30 additions & 0 deletions index.html
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>
Loading

0 comments on commit 8f900a6

Please sign in to comment.