← Back to context

Comment by n2d4

3 days ago

Are there any code examples? I've looked for a bit but haven't found any. That should IMO be the first thing on any blog post about new frameworks.

There are currently two examples:

- `nue create simple-blog` This highlights content-driven websites.

- `nue create simple-mpa` This is today’s SPA demo, where 'MPA' stands for multi-page applications. It shows how client-side routing and view transitions can seamlessly connect content-heavy pages with app-like views.

Source code here:

https://github.com/nuejs/nue/tree/master/packages/examples

I also spent five minutes clicking around and couldn't find a sample of what the code looks like