eleventy html5up ethereal
1.0.0
靜態站點原型基於 Eleventy SSG 和 Ethereal Design。樣板特徵:
連結
PRO 版本包括進階 UI 套件、終身更新和24/7 即時支援(透過 Discord)
Eleventy 材料套件 PRO | Eleventy 紙套件 PRO | Eleventy Now UI 套件 PRO |
---|---|---|
$ # clone the sources
$ git clone https://github.com/app-generator/eleventy-html5up-ethereal.git
$ cd eleventy-html5up-ethereal
$
$ # install modules
$ yarn
$
$ # start the project in development mode
$ yarn dev
$ # app is running on http://localhost:4000
$
$ # build the project for production
$ yarn build
樣板程式碼採用模組化結構構建,遵循許多開源專案使用的推薦模式。下面列出了最重要的文件/目錄:
< ROOT > - Eleventy Ethereal # project root folder
|
| --- src/ # website source folder
| --- src/_includes # website partials (footer, header)
| --- src/assets # website assets (scss, javascript files)
| --- src/index.njk # index page in NJK format
|
| --- .eleventy.js # Eleventy (11ty) config file
| --- package.json # main script executed by Yarn, Npm
|
| -----------------------------
靜態網站 Eleventy Ethereal - 由AppSeed提供