Skip to content

Acacia-starter/Acacia

Repository files navigation

Acacia

Configurable static site generator

Install

$ git clone git@github.com:Acacia-starter/Acacia.git my-project

$ cd my-project

$ yarn install

Commands

dev

Launch a webpack development server with hot-reloading

generate

Build your site with webpack and minify HTML, JS & CSS, extract critical CSS, generate favicon

generate:zip

Generate and then create a zip of bundled files

generate:analyze

Generate and visualize size of webpack output files thanks to webpack-bundle-analyzer

serve

Serve bundled site

debug:routes

Show routes infos (url, source template, destination file, locale)

lint

Lint js files

lint:fix

Lint js files and automatically fix problems

Features to explain

Babel (async, chaining .?)

Eslint

Styles (sass, stylus, postcss, critical)

Env variables

SVGs (clean, svgo)

Zip

debug routes

datas files

Favicon

getAsset, getUrl

components params

all js structure

add nunjucks extensions, filters, functions

static folder

browserlist

acacia config (extendConfig, extendWebpackConfig, extendRoutes)

metas

Deploys (netlify, gitlab-ci)

Credits

Library icon : Tree by sigra from the Noun Project

Releases

Packages

Used by

Contributors

Languages