Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nuxt部署出错,提示页面不存在 #24

Closed
juukee opened this issue Jul 21, 2020 · 3 comments
Closed

nuxt部署出错,提示页面不存在 #24

juukee opened this issue Jul 21, 2020 · 3 comments

Comments

@juukee
Copy link

juukee commented Jul 21, 2020

页面提示部署成功,但是实际上页面无法访问。

// cloudbaserc.json
{
    "functionRoot": "./functions",
    "functions": [],
    "envId": "fscz-faca0",
    "framework": {
        "plugins": {
          "client": {
            "use": "@cloudbase/framework-plugin-nuxt",
            "inputs": {
                "entry": "./",
                "name": "fscz-frontend",
                "buildCommand": "npm run build",
                "outputPath": "dist"
              }
          }
        }
    }
}

image

@binggg
Copy link
Collaborator

binggg commented Jul 22, 2020

"outputPath": "dist"

这个参数不是必须的

可以参考下配置的文档
https://github.com/TencentCloudBase/cloudbase-framework/tree/master/packages/framework-plugin-nuxt#%E9%85%8D%E7%BD%AE%E7%A4%BA%E4%BE%8B

@binggg
Copy link
Collaborator

binggg commented Jul 28, 2020

@juukee 这个问题还存在吗

@binggg
Copy link
Collaborator

binggg commented Jul 31, 2020

先关闭了~

@binggg binggg closed this as completed Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants