question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve the developer experience by choosing a UI framework or creating an API

See original GitHub issue

This issue relates to a discussion had on twitter about adopting a frontend framework for easier development.

Original thread: https://twitter.com/nmdmatt/status/860206053048414209

Angular 2

I attempted to work Angular 2 into the project (seen here) but it is incomplete to say the least.

The main issue I ran into was that the frontend scripts could not access electron related data/objects.

Apparently systemjs overrides the require() function, which results in the inability to access node_modules- related stuff. There are a supposed work around or 3, but none of them have worked in my attempts.

This means that in an angular route or component, I couldn’t call fs = require('fs');, because systemjs would look in the wrong location and not find it.

I’ve seen a number of videos which show the interaction between angular2 to be easy, and without the issue around require(). They all use webpack.

If we’re to continue with angular, maybe we start from a working angular-electron skeleton, and rebuild the conductor functionality on top of it. I believe angular-cli uses webpack, and when using webpack we can use the cheat-code (video2, ~3:20m) to get it to import election.

Alternatively we look at another frontend framework.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
mglamancommented, Jul 21, 2017

Vuetify works for me

0reactions
daggerhartcommented, Jul 21, 2017

Since we’ve chosen a js view layer for now, I’m wanting to get thoughts for next steps working with the UI.

  1. Should we adopt a CSS framework to simplify implementation of design. Some options that jump out to me are:
  2. How would you like for me to proceed w/ UI work? Should I make mockups and submit them in the issue queue for approval? Or will PRs w/ screenshots be fine?

Edit: Because I’m a lazy developer, I’d vote for Vuetify for the CSS framework. I like material design okay, and there is value in the speed in which we could implement and have a great looking app.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fantastic Frameworks and How to Build Them: Developer ...
Tag along as we guide you through the second step of building a framework: how to provide a fantastic developer experience.
Read more >
7 Tools for Faster Frontend Development in 2022
Speed up and scale frontend development using the best tools. Develop, test, build, and ship modern websites and applications faster.
Read more >
5 Golden Rules for Great Web API Design - Toptal
Web APIs that are cleanly-designed, well-documented, and easy-to-use are rare. Here's how to design a great web API that is much more likely...
Read more >
Guide to API Development - Tools, Working and Best Practices
If you are also interested in API development framework or wish to gain a sound knowledge of the same, keep reading this API...
Read more >
Now Experience UI Framework - ServiceNow Developers
In this module, you will set up the development environment for developing custom components. You will develop and deploy a custom component. articles...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found