NoDivide / astrum

A lightweight pattern library designed to be included with any web project.
http://astrum.nodividestudio.com
1.54k stars 98 forks source link

Feature request: precompile pages instead of compiling on page-load #145

Open arothuis opened 7 years ago

arothuis commented 7 years ago

Currently, it seems pages are compiled upon each pageload, showing the "Building pattern library..." everytime you refresh the page. This makes it difficult to code a design system using astrum as the reloads take a pretty long time.

Akin to static site generators, would it be possible to precompile pages to a static file and directory structure? This would enhance the experience of anyone using astrum as a tool to incrementally work on a design system.

Related: #5

Andy-set-studio commented 7 years ago

Hey @arothuis,

I agree that Astrum can get a bit sluggish with larger projects. We are in the process of thinking about how we can speed things up by implementing caches etc.

I'll make a note to update this issue when we know a bit more about how we want approach it as we still want it to be a simple, easy to drop into a project solution.

upstroke commented 6 years ago

What about porting this project to NuxtJS? Thats's what I am looking at right now.