內容簡介
Wordless 是 WordPress 外掛和佈景主題範本之間的接合部,可以大大加快和增強自訂佈景主題的創建。它的一些功能包括:
結構化、有組織和乾淨的佈景主題組織
直接在 wp-cli 內啟動新主題
使用Pug 模板系統編寫 PHP 模板
使用優秀的SCSS 語法編寫 CSS 樣式表
支援Stylelint,可針對 SCSS 語法進行配置
使用Babel,以現代語法編寫 JavaScript 邏輯
根據你在 .browserslistrc 內的支援,自動進行 JavaScript 兼容處理(使用core-js進行 polyfill 和轉譯)
一組便利的 PHP 助手函數,並且已準備好在視圖內使用
開發工作流使用 WebPack、BrowserSync(具有即時重新加載功能)、WP-CLI 和 Yarn。所有您已經熟悉的標準以及您可能需要的自定義選項。
文檔
完整文檔
在 wordless.readthedocs.io 上閱讀完整的 Wordless 文檔,這裡您將找到希望的所有安裝、使用指南和深入解釋堆疊的相關信息。
內置助手文檔
您可以在 http://welaika.github.io/wordless/docs/latest/html/index.html 上找到。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Wordless is a junction between a WordPress plugin and a theme boilerplate that dramatically speeds up and enhances your custom theme creation. Some of its features are:
A structured, organized and clean theme organization
Bootstrap a new theme directly within wp-cli
Write PHP templates with Pug templating system
Write CSS stylesheets using the awesome SCSS syntax
Out-of-the-box support to Stylelint configured for SCSS syntax.
Write Javascript logic using modern syntax thanks to Babel
Automatically polyfill (with core-js) and transpile Javascript based on your support inside .browserslistrc
A growing set of handy and documented PHP helper functions ready to be used within your views
Preconfigured support to MailHog mail-catcher in development.
Development workflow backed by WebPack, BrowserSync (with live reload), WP-CLI, Yarn. All the standards you already know, all the customizations you may need.
Documentation
Complete documentation
Read the complete Wordless documentation at wordless.readthedocs.io where you’ll find – hopefully – all the informations about installation, usage guide, in depth explanation about the stack.
Buil-in helpers documentation
You can find it at http://welaika.github.io/wordless/docs/latest/html/index.html.
