Angular 通用不添加脚本

问题描述

我无法在我的项目中添加 angular Universal,我需要它来进行预渲染

我在网上看到的每个教程,当 ppl 使用 ng add @nguniversal/express-engine 时,它​​们都会更新一些 package.json 脚本。

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".HomeFragment" android:background="@color/teal_200"> <!-- Todo: Update blank fragment layout --> <TextView android:id="@+id/size" android:layout_width="match_parent" android:layout_height="match_parent" android:text="Home" android:textSize="34sp" /> </FrameLayout>

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)