overview
Directory/FIles | คำอธิบาย | การใช้งาน |
---|---|---|
.nuxt | โปรเจค Nuxt ที่ถูกสร้างขึ้นจากการทำซ้ำ | |
.output | ของที่ build จะอยู่ที่นี่ | |
assets | เก็บ image, video, font, .... | |
components | เก็บ vue components สำหรับการแสดงผล | |
composables | ||
content | เก็บ content | |
layouts | โครงสร้าง | |
middleware | ||
modules | nuxt modules ต่างๆ | |
node_modules | เก็บ node_modules | |
pages | ไดเรกทอรีสำหรับหน้าเว็บในโปรเจค | |
plugins | ไดเรกทอรีสำหรับปลั๊กอินที่ใช้ในโปรเจค | |
public | ไดเรกทอรีสำหรับไฟล์สาธารณะในโปรเจค | |
server | ไดเรกทอรีสำหรับไฟล์เซิร์ฟเวอร์ในโปรเจค | |
utils | ไดเรกทอรีสำหรับโค้ดที่ใช้ซ้ำในโปรเจค | |
.gitignore | ซ่อนไฟล์จาก git | |
.nuxtignore | ||
app.vue | หน้าแรกของ nuxt app ก็คือ app.vue | |
app.config.ts | ตั้งค่า nuxt app | |
error.vue | จัดการ error | |
nuxt.config.ts | Nuxt TypeScript | |
package.json | nodejs config | |
tsconfig.json | ไฟล์ที่ใช้กำหนดค่า TypeScript |