2

I am trying to render PartialViewResult inside Angular 6 template (.html) which is necessary to use licenses in our current system. As that of course cannot be done I was wondering if there is any other way?

There were solutions like

@Component({
  selector: 'root-app-component',
  templateUrl: '/[controllerName]/[actionName]'
})

but that doesn't work for me as the console throws:

ERROR in ./src/app/app.component.ts
Module not found: Error: Can't resolve './/Angular/List' in '....\src\app'

Even if I try to fix the path to controller it doesn't work. Mind that I have <base href="/"> included.

Paxz
  • 2,959
  • 1
  • 20
  • 34
BlazK
  • 43
  • 7

0 Answers0