Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2008/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Npm构建版本文本看起来不同_Npm - Fatal编程技术网

Npm构建版本文本看起来不同

Npm构建版本文本看起来不同,npm,Npm,正如标题所示,在运行npm run build之后,除了文本之外,所有样式看起来都是相同的。我目前正在使用react引导。上面的图像链接显示了我的测试版本(左)与构建版本(右)的登录页面。修复。使用的是bootswatch主题,而字体似乎无法转换为构建。在index.html上手动更改字体已修复。使用的是bootswatch主题,而字体似乎无法转换为构建。在index.html上手动更改字体


正如标题所示,在运行npm run build之后,除了文本之外,所有样式看起来都是相同的。我目前正在使用react引导。上面的图像链接显示了我的测试版本(左)与构建版本(右)的登录页面。

修复。使用的是bootswatch主题,而字体似乎无法转换为构建。在index.html上手动更改字体

已修复。使用的是bootswatch主题,而字体似乎无法转换为构建。在index.html上手动更改字体