Questions tagged [system.js]

10 questions
9
votes
1 answer

Angular App dynamically load plugin without recompile

I'm trying to develop the frontend of my Web Api (NET CORE) pluginable application. I would like to use Angular 9 but im not an expert in angular. My backend was designed to be extensible and at startup it watches in a specified folder and if exists…
3
votes
0 answers

How to compile and execute multiple TypeScript modules with single entry point, to a single file

For some reason, I find myself in a situation where I need to compile one file (main entry point), which depends on multiple other modules in other files, into a single-bundle-file. It must be able to run in the browser. I must use the TypeScript…
HelloWorld
  • 3,381
  • 5
  • 32
  • 58
1
vote
2 answers

How to import a service-like singleton-class with System.js?

I have a Singleton-Class FooService that is loaded via an import-map. I'd like to (a)wait for it and use it in various async functions like so: declare global { interface Window { System: System.Module } } const module =…
leonheess
  • 16,068
  • 14
  • 77
  • 112
1
vote
0 answers

Mongo : Custom system.js in find(), like query

trying to write a Mongo query that will Base64 Decode a field that is Base64 encoded and then perform a simple "like" on the decoded value. I'm following a couple of different posts as well as the Mongo docs, but can't seem to get the syntax…
lincolnadym
  • 909
  • 1
  • 12
  • 29
1
vote
1 answer

system.js build config for pdf.js

I'm trying to build pdf.js in order to embed the viewer into an app I'm working on. I want to build the viewer by hand so it can be included in the application that is getting packaged by webpack. The application entrypoint, index.js, has the…
joshua.thomas.bird
  • 676
  • 1
  • 8
  • 22
1
vote
1 answer

How does importing module in JavaScript works?

I want to know the difference between : import 'any module which is in node_module'; import 'any module which is in vendor folder'; require('any module in node_module'); require('module in vendor folder'); I know that require function needs…
jasmin_makasana
  • 472
  • 3
  • 11
0
votes
0 answers

Executing User defined functions on MongoDB in C#

I am trying to execute a user defined function on MongoDB from C# using RunCommand() method. But whenever I try to give the name of function or try it with eval it just throws an exception saying expected value but some character found. Suppose…
0
votes
1 answer

Vue.js w System.js : scope.router.go error

currently testing a Vue.js-System.js app before moving it to webpack2, I am facing an issue with the routing pattern. From my OPA Memberships component , when clicking on a link, I want to request a Registration page from the router. I used …
user762579
0
votes
1 answer

Vue.js with System.js how to run a local example

I would like to run locally a Vue.js/System.js demo app I just got recently, never used System.js before (and I'll not...) I only want to run this demo, before switching it to webpack... There is no npm script (so no install, no run dev) How should…
user762579
0
votes
2 answers

How can I make Aurelia routing work when the application is not at the root of the host

I am building an Aurelia application that will not live at the root of the web site. Its URL will be something like this http://mycompany.com/neatoApp. I have a route configuration that looks like this {route:['','index'],…
Matthew
  • 2,210
  • 1
  • 19
  • 30