Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed May 11, 2024
1 parent 5392e09 commit 44947b7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 18 deletions.
41 changes: 28 additions & 13 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,28 @@ export default defineConfig({
['meta', { name: 'keywords', content: 'vue,vite,router,vuex,pinia,typescript,template,h5,mobile,移动端,模板' }],
['keywords', { content: 'vue,vite,router,vuex,pinia,typescript,template,h5,mobile,移动端,模板' }],
['description', { content: '自成一派的移动端 H5 框架,采用 Vue3 + Vite 技术栈。' }],
['script', {}, `
var _hmt = _hmt || [];
_hmt.push(['_requirePlugin', 'UrlChangeTracker', {
shouldTrackUrlChange: function(newPath, oldPath) {
return newPath && oldPath;
}
}]);
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?d93eb564371af3b9e7818f9ee32229e3";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
`],
],
markdown: {
config: (md) => {
md.use(taskLists)
},
},
themeConfig: {
// logo: '/logo.png',
footer: {
copyright: 'Copyright © 2024-present Fantastic-mobile',
},
Expand Down Expand Up @@ -72,18 +87,18 @@ export default defineConfig({
// ],
// },
outline: 'deep',
search: {
provider: 'local',
options: {
translations: {
button: { buttonText: '搜索文档', buttonAriaLabel: '搜索文档' },
modal: {
noResultsText: '无法找到相关结果',
resetButtonTitle: '清除查询条件',
footer: { selectText: '选择', navigateText: '切换', closeText: '关闭' },
},
},
},
},
// search: {
// provider: 'local',
// options: {
// translations: {
// button: { buttonText: '搜索文档', buttonAriaLabel: '搜索文档' },
// modal: {
// noResultsText: '无法找到相关结果',
// resetButtonTitle: '清除查询条件',
// footer: { selectText: '选择', navigateText: '切换', closeText: '关闭' },
// },
// },
// },
// },
},
})
6 changes: 3 additions & 3 deletions .vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export default {

// 评论组件 - https://giscus.app/
giscusTalk({
repo: 'hooray/fantastic-startkit',
repoId: 'MDEwOlJlcG9zaXRvcnkzNzMzNjIxOTI=',
repo: 'fantastic-mobile/fantastic-mobile.github.io',
repoId: 'R_kgDOL53UCw',
category: 'Announcements', // 默认: `General`
categoryId: 'DIC_kwDOFkEOEM4CeRHv',
categoryId: 'DIC_kwDOL53UC84CfRvQ',
mapping: 'pathname', // 默认: `pathname`
inputPosition: 'top', // 默认: `top`
lang: 'zh-CN', // 默认: `zh-CN`
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ titleTemplate: 自成一派的移动端 H5 框架
hero:
name: Fantastic-mobile
text: 自成一派的 H5 框架
tagline: 🚧 尚未发布,正在开发中…
tagline: 🚧 尚未发布,紧锣密鼓开发中
# actions:
# - theme: brand
# text: 开始
Expand Down Expand Up @@ -43,7 +43,7 @@ import { withBase } from 'vitepress'

### 作者寄语

Fantastic-mobile 是一个自成一派的移动端 H5 框架,与市面上大部分移动端 H5 模板不同之处在于,针对一些通用场景,它自带了一套设计逻辑,通过简单的配置即可轻松完成页面的设计和布局,使得开发者可以更加专注于业务逻辑的开发。同时,Fantastic-mobile 也提供了一些常用的组件,以及一些常用的工具函数,使得开发者可以更加高效的开发出一个移动端 H5 项目。
Fantastic-mobile 是一个自成一派的移动端 H5 框架,与市面上大部分移动端 H5 模板不同之处在于,它针对一些通用场景提供了一套设计逻辑,通过简单的配置即可轻松完成页面的设计和布局,使得开发者可以更加专注于业务逻辑的开发。同时,Fantastic-mobile 也提供了一些常用的组件,以及一些常用的工具函数,使得开发者可以更加高效的开发出一个移动端 H5 项目。

我们最终的目标是希望 Fantastic-mobile 能够成为你的得力助手,让你的开发工作更加高效、更加愉快。

Expand Down

0 comments on commit 44947b7

Please sign in to comment.