Skip to content

Does not provide an export named 'routes' on fresh install of vue #427

Closed Answered by andyjamesn
andyjamesn asked this question in Questions and Help
Discussion options

You must be logged in to vote

I was missing the vite config.

I hadnt seen the documentation link at the bottom of the readme page in github.

VueRouter({
      logs: true,
      routesFolder: [
        {
          src: 'src/pages',
        },
      ],
    }),

After this I ran dev again and I see it created the routes and everything works fine now.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #426 on June 22, 2024 07:20.