Skip to content
Permalink
Browse files

add paw config

  • Loading branch information
danranVm committed Aug 6, 2019
1 parent 0021ffa commit 6d2bbe919e7f6564b8c8173558d197e38e024dc5
@@ -4,6 +4,8 @@ module.exports = {
dest: 'public',
head: [
['link', { rel: 'icon', href: '/favicon.ico' }],
["link", { rel: "manifest", href: "/manifest.json" }],
// 更多配置可以参考 https://github.com/vuejs/vuepress/blob/master/packages/docs/docs/.vuepress/config.js
['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }]
],
theme: 'reco',
@@ -70,5 +72,5 @@ module.exports = {
markdown: {
lineNumbers: true
},
plugins: ['@vuepress/medium-zoom', 'flowchart']
plugins: ['@vuepress/pwa', '@vuepress/medium-zoom', 'flowchart']
}
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,20 @@
{
"name": "VuePressThemeReco",
"short_name": "ThemeReco",
"icons": [
{
"src": "/icons/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/icons/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/index.html",
"display": "standalone",
"background_color": "#fff",
"theme_color": "#3eaf7c"
}
@@ -10,7 +10,8 @@
"devDependencies": {
"vuepress": "1.0.1",
"vuepress-theme-reco": "1.0.3",
"@vuepress/plugin-medium-zoom": "1.0.0-alpha.0",
"@vuepress/plugin-pwa": "1.0.3",
"@vuepress/plugin-medium-zoom": "1.0.3",
"vuepress-plugin-flowchart": "1.4.3"
}
}

0 comments on commit 6d2bbe9

Please sign in to comment.
You can’t perform that action at this time.