有什么方法可以将我的当前页面导出到Angular Universal上的PDF?
我尝试了这两种解决方案:
当我从ng serve
开始但在我这样做时,这些选项就可以正常工作
他们两个都抛出此错误:
节点prerender.js
webpack:///../dist-server/main.c2dc411c687e969813ab.js?:1 !function(e,a){for(var in a)e [i] = a [i]}(exports,function(modules){var installedModules = {}; function webpack_require (moduleId ){if(installedModules [moduleId])返回installedModules [moduleId] .exports; var module = installedModules [moduleId] = {i:moduleId,l:!1,exports:{}};返回modules [moduleId] .call(module .exports,module,module.exports, webpack_require ),module.l =!0,module.exports} return_webpack_require __。m = modules, webpack_require .c = installedModules,< strong> webpack_require .d = function(exports,name,getter){ webpack_require .o(exports,name)|| Object.defineProperty(exports,name,{configurable:!1,枚举:!0,get:getter})}, webpack_require .r = function(exports){Object.defineProperty(exports,“ esModule”,{value:!0})} ,, __webpack_require .n = function(module){var getter = module && module。 esModule?function(){return module.default}:function(){return module}; return_webpack_require .d(getter ,“一种” ,getter),getter}, webpack_require .o = function(object,property){
ReferenceError:未定义导航器
谢谢。