【文件属性】:
文件名称:blog:雨果支持的个人博客
文件大小:17.42MB
文件格式:ZIP
更新时间:2021-04-28 05:13:39
HTML
博客
安装
brew install hugo
npm i
发展
npm start
像服务器一样的产品
brew install mkcert
# Generate the certs
mkcert localhost 127.0.0.1 ::1
# Install the certs into the system
mkcert -install
服务器:
npm run build
npm run serve:prod
生产
npm run build
步骤(来自package.json ):
使用sitemap-tree-generator.js脚本构建侧边栏html片段
使用palette-generator脚本插入应用程序颜色,还使用bulma-css-vars将JS颜色转换为css bulma-css-vars
使用webpack创建站点脚本,读取webpack.c