且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我已经成功安装了magento2,但是有很多js错误

更新时间:2023-11-30 12:55:04

问题已解决...

有一个用于这些静态资源的缓存"系统. 导航到dev/tools/Magento/Tools/View文件夹

There is a 'cache' system for these static resources. navigate to the folder dev/tools/Magento/Tools/View

在终端中运行以下命令

php deploy.php

php deploy.php

运行此命令后,css和在Pub/static/文件夹下创建的其他文件以及所有css都会出现并且页面看起来很好.

After running this command css and other files created under the Pub/static/ folder and all the css will appear and page look fine.