Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
arothuis opened this issue Nov 22, 2017 · 2 comments
Open

Comments

@arothuis
Copy link

arothuis commented Nov 22, 2017

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

@arothuis arothuis changed the title Precompile pages instead of compiling on page-load Feature request: precompile pages instead of compiling on page-load Nov 22, 2017
@Andy-set-studio
Copy link
Contributor

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants