问题描述
我开发了一个微型前端UI应用程序,该应用程序通过npm start
命令在本地运行,但是现在我想对其进行部署,因为当我尝试时,需要使用build命令来发布它运行npm build --prod
或仅运行npm build
,它不会引发任何错误,但是我的应用程序根文件夹中没有创建任何dist文件夹。
下面是我的package.json和应用程序结构:
{
"name": "root-html-file","description": "The single-spa root config for coexisting-angular-microfrontends","main": "index.js","scripts": {
"start": "serve -s -l 4200",},"author": "Joel Denning","license": "MIT","devDependencies": {
"serve": "^11.1.0"
},"dependencies": {}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)