From 39fb62b1814d52bdd7f70da05348059bdea2cb28 Mon Sep 17 00:00:00 2001 From: Jeff Sagal Date: Thu, 18 Apr 2019 13:17:16 -0500 Subject: [PATCH] Vuepress 1.0 (#844) * bump vuepress * extend default-theme, implement codefund * explicitly install alpha plugins * update config --- docs/.vuepress/config.js | 7 +++++-- netlify.toml | 2 +- package.json | 4 ++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 77ceb5c..c845823 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -3,8 +3,7 @@ const isDeployPreview = process.env.hasOwnProperty('DEPLOY_PREVIEW'); const meta = { title: 'Vue Select | VueJS Select2/Chosen Component', description: 'Everything you wish the HTML <select> element could do, wrapped up into a lightweight, extensible Vue component.', - url: 'http://sagalbot.github.io/vue-select/', - icon: '/vue-logo.png', + url: 'https://vue-select.org', }; let head = [ @@ -75,6 +74,10 @@ module.exports = { buttonText: 'Refresh', }, }, + '@vuepress/plugin-register-components': {}, + '@vuepress/plugin-active-header-links': {}, + '@vuepress/plugin-search': {}, + '@vuepress/plugin-nprogress': {}, }, themeConfig: { repo: 'sagalbot/vue-select', diff --git a/netlify.toml b/netlify.toml index 6b56a56..a535877 100644 --- a/netlify.toml +++ b/netlify.toml @@ -12,4 +12,4 @@ # inherit these settings. [context.deploy-preview] publish = "docs/.vuepress/dist" - command = "yarn add --dev webpack@~4.28 && yarn && yarn build:preview" + command = "yarn && yarn build:preview" diff --git a/package.json b/package.json index 8b977a6..126c0aa 100644 --- a/package.json +++ b/package.json @@ -30,8 +30,12 @@ "@babel/preset-env": "^7.4.2", "@babel/runtime": "^7.4.2", "@vue/test-utils": "^1.0.0-beta.29", + "@vuepress/plugin-active-header-links": "^1.0.0-alpha.47", "@vuepress/plugin-google-analytics": "^1.0.0-alpha.47", + "@vuepress/plugin-nprogress": "^1.0.0-alpha.47", "@vuepress/plugin-pwa": "^1.0.0-alpha.47", + "@vuepress/plugin-register-components": "^1.0.0-alpha.47", + "@vuepress/plugin-search": "^1.0.0-alpha.47", "autoprefixer": "^9.4.7", "babel-core": "^7.0.0-bridge.0", "babel-loader": "^8.0.5",