A simple and beautiful vuepress Blog & Doc theme.. Latest version: 1.6.17, last published: 2 years ago. Start using vuepress-theme-reco in your project by running `npm i vuepress-theme-reco`. There are 13 other projects in the npm registry using vuepress
npx # 初始化,并选择 2.xnpx @vuepress-reco/theme-cli init npm # 初始化,并选择 2.xnpminstall@vuepress-reco/theme-cli@1.0.7-gtheme-cli init yarn # 初始化,并选择 2.xyarnglobaladd@vuepress-reco/theme-cli@1.0.7 theme-cli init 公告 最新版本 vuepress:2.0.0-rc.19 reco 主题:2.0.0-rc....
这时候访问http://localhost:8080/可以看到404页面。 0x02 安装vuepress-theme-reco主题 yarn add -D vuepress-theme-reco 新建config.js mkdir blog/.vuepress touch blog/.vuepress/config.js 0x03 config.js配置 config.js配置,以下是我的配置,仅供参考 module.exports={base:'/',locales:{'/':{lang:'zh-...
其实主题也就是一个 npm 包,可以通过 npm 的方式下载。 npm install vuepress-theme-vdoing -D 在config.js 里配置使用主题(第 6 行): module.exports= {title:'网站标题',head: [ ['link', {rel:'icon',href:'https://s3.bmp.ovh/imgs/2023/02/16/8d42caf2b4ba3334.png'}] ],them...
npm install vuepress-theme-reco ```等待下载完成后,执行以下指令来初始化项目:```theme-cli init blog ```在初始化过程中,您将需要填写一些信息,如博客名称、标题和描述等。您可以暂时跳过这些信息,后续再回来完善。当项目完全初始化后,文件目录将呈现如下结构:```├── blog // 博客文件夹 ├─...
安装npm npm install 1. 创建博客工程 # 安装脚手架工具 npm install @vuepress-reco/theme-cli -g # 创建项目 theme-cli init my-blog #my-blog可替换成自己需要的项目名称 1. 2. 3. 4. 5. 上述命令执行后,在命令行窗口会进行一系列的信息配置 ...
npx @vuepress-reco/theme-cli init my-blog npm # initnpm install @vuepress-reco/theme-cli -g theme-cli init my-blog# installcdmy-blog npm install# runnpm run dev# buildnpm run build yarn # inityarn global add @vuepress-reco/theme-cli ...
npm install @vuepress-reco/theme-cli -g theme-cli init my-blog # install cd my-blog npm install # run npm run dev # build npm run build yarn # init yarn global add @vuepress-reco/theme-cli theme-cli init my-blog # install
npm install //运行dev模式 npm run dev yarn # 初始化 yarn global add @vuepress-reco/theme-cli theme-cli init 如果没有接触过脚手架的可以看这里 首先theme-cli init myblog 然后 他会让你输入博客标题,可以在这里写,也可以最后在config.js里写,所以我就直接敲回车,等以后在配置, ...
vuepress-theme-reco的使用方法 1.全局安装vuepress tip 本主题支持vuepress@1.0+ ```bash yarn global add vuepress #或者:npm install -g vuepress #请升级到最新版 npm update -g vuepress ``` 2.初始化 创建一个文件夹,如`blog`,执行 ```bash cd blog npm init # yarn init或者跳过 ``` 创建`...