hugo-starter:带有webpack 4 ui构建工作流程的Hugo入门主题
入门主题安装例如,如果您的Hugo网站位于www文件夹中。 cd www git init git submodule add https://github.com/jimfrenette/hugo-starter.git themes/starter开发雨果模板cd www hugo server -D预览站点,例如Webpack开发用户界面安装节点模块cd www/themes/starter npm i使用sourcemaps进行未缩小的开发构建cd www/themes/starter npm run dev使用npm run build为生产构建。 CSS和JavaScript文件将输出到starter themes dist文件夹中。例如, cd www/themes/starter npm ru
203.08KB
文件大小:
评论区