atx
v0.0.25
Published
Node based static site generator
Readme
ATX - extensible static site generator.
Installation
yarn add atxapp.config.js file
{
scripts: path.join('./scripts/index.js'), // Path to script entry file
styles: path.join('./styles'), // Path to Sass entry file
views: path.join('./views'), // Path to views directory
outputDir: path.resolve('./dist/'), // Path to output directory
data: {}, // Data goes here, can be either obect or Promise
compiler: (template, data) => { return somecompiler.output() } // Retern the result of compiler ex: nunucks, handlebars, liquid etc.
}
Build
npm atxWatch
npm atx --watchor
npm atx -w