Skip to content

Commit

Permalink
docs: migration website to quark-ecosystem
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Mar 28, 2024
1 parent 1ca47e1 commit 3e78e05
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync-docs-to-React-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
branch : main # action 应该部署到的分支 。
folder : site_docs # 操作应该部署的文件夹 。
clean: false
repository-name: hellof2e/react-quarkd.hellobike.com
repository-name: hellof2e/quarkd-docs-react
token: ${{ secrets.GIT_ACTION }}
target-folder: src/docs_react
2 changes: 1 addition & 1 deletion .github/workflows/sync-docs-to-Vue-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
branch : main # action 应该部署到的分支 。
folder : site_docs # 操作应该部署的文件夹 。
clean: false
repository-name: hellof2e/vue-quarkd.hellobike.com
repository-name: hellof2e/quarkd-docs-vue
token: ${{ secrets.GIT_ACTION }}
target-folder: src/docs_vue
8 changes: 3 additions & 5 deletions demo.html → example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,14 @@
border-collapse: collapse;
border-spacing: 0;
}

/* Add your own additional resets as needed */
</style>
</head>

<body>

<div id="app"></div>
<script type="module" src="./example/src/sites/mobile-vue/main.ts"></script>
<script type="module" src="./packages/quarkd/src/index.ts"></script>

<script type="module" src="./src/sites/mobile-vue/main.ts"></script>
<script type="module" src="../packages/quarkd/src/index.ts"></script>
</body>

</html>
2 changes: 1 addition & 1 deletion example/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default defineConfig({
cssCodeSplit: true,
rollupOptions: {
input: {
mobile: resolve(__dirname, "../demo.html"),
mobile: resolve(__dirname, "./index.html"),
},
},
minify: false,
Expand Down
12 changes: 2 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@
<head>
<meta charset="utf-8" />
<meta content="telephone=no" name="format-detection" />
<meta
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"
name="viewport"
/>
<link
rel="shortcut icon"
href="./example/src/sites/assets/images/favicon.ico"
type="image/x-icon"
/>
<title>Quark-下一代跨技术栈前端组件库</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>Quark Design - 下一代前端组件库</title>
</head>
<body>
<div id="doc"></div>
Expand Down

0 comments on commit 3e78e05

Please sign in to comment.