Reputation: 51
Whenever I was creating a new Nuxt project, there were directories like: components
, pages
, static
, store
, .nuxt
, node_modules
but there are no layouts
and other directories as of right now.
How can I fix that?
Upvotes: 4
Views: 5093
Reputation: 46726
You are probably referring to this question: Some of the directories are missing when I'm trying to create a new Nuxt js project
My answer is in there!
Also, .nuxt
is a cache directory that you should not touch to, same goes for node_modules
so far. node_modules
will be available if you yarn
normally.
PS: this is based on the assumption that you are doing npx create-nuxt-app <project-name>
.
Upvotes: 3