mirror of https://github.com/embarklabs/embark.git
e0f7913a02
This commit introduces support for using `embark.config.js` to calculate the embark configuration object that is otherwise provided via `embark.json`. If an `embark.config.js` file is present, it will be used over the `embark.json` file. The `embark.config.js` module needs to export either an object or a function that can be asynchronous and has to return or resolve with an embark configuration object: ```js // embark.config.js module.exports = async function () { let config = ...; // do lazy calculation of `embarkConfig`; return config; } ``` |
||
---|---|---|
.. | ||
scripts | ||
source | ||
themes/embark | ||
.gitignore | ||
CNAME | ||
LICENSE | ||
README.md | ||
_config.yml | ||
deploy-site.js | ||
gulpfile.js | ||
package.json | ||
yarn.lock |
README.md
Embark Official Website
The website for Embark.
Getting started
Install dependencies:
$ git clone https://github.com/embarklabs/embark.git
$ cd embark/site
$ npm install
Generate:
$ hexo generate
Run server:
$ hexo server