Skip to content

update module error troubleshooting doc for vue #8114

@ykethan

Description

@ykethan

Describe the content issue:
A clear and concise description of what the content issue is. Is there content missing or is there incorrect content?
Currently instructions on the document applies to NextJS and would need to be updated to information specific to vue

the tsconfig.app.json will need to add a include for data and function resource files to mitigate the error

{
  "extends": "@vue/tsconfig/tsconfig.dom.json",
  "include": [
    "env.d.ts",
    "src/**/*",
    "src/**/*.vue",
    "amplify/data/resource.ts",
    "amplify/auth/pre-sign-up/resource.ts" 
  ],
  "exclude": ["src/**/__tests__/*"],
  "compilerOptions": {
    "composite": true,
    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
    "baseUrl": ".",
    "paths": {
      "@/*": ["./src/*"]
    }
  }
}

URL page where content issue is:
https://docs.amplify.aws/vue/build-a-backend/troubleshooting/cannot-find-module-amplify-env/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions