Skip to content

[Docs] app.config.ts must be in the source directory, which is not necessarily the root #12463

@jsulpis

Description

@jsulpis

Hi, I see that there is a closed issue about that, but I still think the documentation is misleading:

The documentation clearly says that app.config.ts must be located at the root of a project. But as Daniel said in the previous issue, it must be in the srcDir, so if we change it in nuxt.config.ts, it is no more the root.

Here is what I suggest:

  • reword slightly the paragraph in Get Started > Configuration > App Configuration (or add a little "info panel" ?) to mention the source directory instead of root
  • update the folder structure in the nuxt config reference to show the app.config.ts in the src folder (and maybe app.vue too ?)

I would be happy to do the PR if you want

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