Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No layout folder in a Nuxt Project

Tags:

vue.js

nuxt.js

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?

like image 398
Ali Guliyev Avatar asked Oct 31 '25 15:10

Ali Guliyev


1 Answers

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>.

like image 134
kissu Avatar answered Nov 02 '25 07:11

kissu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!