1 Star 0 Fork 3

栋鹅 / vuepress-blog

forked from sickeeer / vuepress-blog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

安装

推荐使用 yarn

	npm i yarn -g

安装依赖

    yarn

全局安装 vercel

    yarn global add vercel

注意:直接使用 vercel 命令 ,需要配置全局安装路径

键入

	yarn global dir

查询 yarn 全局安装路径,配置入环境变量。

如嫌麻烦,可以使用 npmvercel 进行全局安装,命令参照第一条。

打包并上传到 vercel(需在根目录运行如下命令)

    ./_deploy2vercel.sh

打包并上传到服务器(需在根目录运行如下命令)

    ./_deploy2ecs.sh

打包并上传到阿里OSS(需在根目录运行如下命令)

    ./ossutil64.exe config
    # 第一个参数输入 .ossutilconfig 其他按照提示操作
    ./_deploy2ecs.sh

上传到 gitee(需在根目录运行如下命令)

    ./pushToGit.sh

打包失败

请删除 node_modules 后,重新用 yarn 安装依赖后重试。

icon

项目中引入了 https://vue-feather-icons.egoist.sh/ 移步该网址查看

开箱食用

  1. 注册 vercel 账号。
  2. docs\.vuepress\config.js 中 域名配置为 https://110501.com 处修正为自己的域名。
  3. 新注册 leanclouddocs\.vuepress\config.js 中 valine 的配置进行替换。
  4. 如无需首页,将 nav 配置项 link: '/post/' => link: '/'directories 配置项 path: '/post/' => path: '/'
  5. 配置自己的 vercel , 参照 https://110501.com/2021/03/23/how-to-use-vercel/#vercel-cli
  6. 移除 docs\_post 下文件,键入 ./new.sh 依据提示输入,开始编辑文章吧!

issue

  1. Error: Cyclic dependency: "[object Object]"

    删除 node_modules ,重新运行 yarn ,

    如果依然不行,尝试打开 /node_modules/vuepress-html-webpack-plugin/index.js:33

        chunksSortMode: 'auto',    =>   chunksSortMode: 'none',  

    参照 https://github.com/marcelklehr/toposort/issues/20#issuecomment-388025176

what's new

  • 因存在图片拉取错误的原因,暂时移除 feed ,不排除之后不会加回。
MIT License Copyright (c) 2021 sickeeer Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

一个基于 vuepress 的开箱即用博客。托管至 vercel 免费、无后端。 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/dong-goose/blog-resource.git
git@gitee.com:dong-goose/blog-resource.git
dong-goose
blog-resource
vuepress-blog
master

搜索帮助