简体   繁体   English

为什么我的 Vuepress 站点在本地可以运行,但托管在 Firebase 上却不能运行?

[英]Why does my Vuepress site work locally but not when hosted on Firebase?

So I successfully deployed my basic/static vuepress site via firebase deploy but nothing is showing up when I go to the url;所以我通过firebase deploy成功部署了我的基本/静态 vuepress 站点但是当我 go 到 url 时没有任何显示; https://nbamodel-223111.web.app/ . https://nbamodel-223111.web.app/ However, it works fine when running it locally.但是,在本地运行时它工作正常。 What could it be?会是什么呢? Firebase seems to say the version it is running, multiple files etc... I don't know what's going on. Firebase 似乎说它正在运行的版本,多个文件等......我不知道发生了什么。

The firebase.json is the below - could there be something wrong there?下面是firebase.json - 那里有什么问题吗?

{
  "hosting": {
    "public": "./vuepress/dist",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ]
  }
}

I'm not sure what else to look for to resolve this issue.我不确定要寻找什么来解决这个问题。

I have checked your web at https://********-223111.web.app/ and it shows that is up and running, you may want to edit your question to remove that url from Stackoverflow.我已经在https://********-223111.web.app/检查了您的 web,它显示它已启动并正在运行,您可能需要编辑您的问题以从 Stackoverflow 中删除 url。

Additionally you could add how you made it work!!另外你可以添加你是如何让它工作的!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM