4 ms·
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.
by n2d4 2y 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.
- tipiirai 2y agoThere 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 https://github.com/nuejs/nue/tree/master/packages/examples
- noodletheworld 2y agoIs there any documentation about them? For example what is this 200kb binary for? https://github.com/nuejs/nue/blob/master/packages/examples/simple-mpa/app/model/wasm/engine_bg.wasm https://github.com/nuejs/nue/blob/master/packages/examples/s...
- jeffhuys 2y agoHere's the source, I believe: https://github.com/nuejs/nue/blob/master/packages/examples/simple-mpa/app/model-rs/README.md https://github.com/nuejs/nue/blob/master/packages/examples/s...
- brundolf 2y agoI also spent five minutes clicking around and couldn't find a sample of what the code looks like