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

update module error troubleshooting doc for vue #8114

Open
ykethan opened this issue Nov 20, 2024 · 0 comments
Open

update module error troubleshooting doc for vue #8114

ykethan opened this issue Nov 20, 2024 · 0 comments

Comments

@ykethan
Copy link
Member

ykethan commented Nov 20, 2024

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant