grunt-wp-theme:WordPress主题项目模板

时间:2021-05-12 06:35:25
【文件属性】:
文件名称:grunt-wp-theme:WordPress主题项目模板
文件大小:193KB
文件格式:ZIP
更新时间:2021-05-12 06:35:25
JavaScript grunt-wp-theme 不推荐使用,请改用 。 使用创建一个WordPress主题。 安装 如果尚未安装,请安装 。 一旦安装了grunt-init,请将此模板放置在~/.grunt-init/目录中。 建议您使用git将此模板克隆到该目录中,如下所示: Linux / Mac用户 git clone git@github.com:10up/grunt-wp-theme.git ~/.grunt-init/wp-theme Windows用户 git clone git@github.com:10up/grunt-wp-theme.git %USERPROFILE%/.grunt-init/wp-theme 用法 在命令行中,cd进入一个空目录,运行此命令并按照提示进行操作。 grunt-init wp-theme 请注意,此模板将在当前目录中生成文件,因此,如果您不想覆盖
【文件预览】:
grunt-wp-theme-master
----rename.json(386B)
----root()
--------functions.php(2KB)
--------footer.php(100B)
--------index.php(127B)
--------images()
--------assets()
--------header.php(119B)
--------languages()
--------screenshot.png(180KB)
--------Gruntfile.js(3KB)
--------.gruntjshintrc(233B)
--------humans.txt(408B)
--------.gitignore(12B)
--------includes()
--------.jshintrc(310B)
--------style.css(286B)
----template.js(3KB)
----.gitignore(13B)
----README.md(3KB)

网友评论