itsValyria / choices-choices-the-tech-stack

Kies een andere tech-stack voor het ontwerpen en bouwen van een website voor een opdrachtgever
https://choices-choices-the-tech-stack-nu.vercel.app
MIT License
0 stars 0 forks source link

Setting up project with Astro #2

Closed itsValyria closed 4 days ago

itsValyria commented 4 days ago

To create the Astro project, I used the following command:

npm create astro@latest -- --force .

The --force was necessary to bypass the fact that the initial folder was not empty. I wanted to keep the instructions.md and other files that were already located in the folder.

The . at the end indicates the current folder.

itsValyria commented 4 days ago

Folder structure

/choices-choices-the-tech-stack
│
├── public/             # Static assets like images, fonts, etc.
│   └── favicon
│
├── src/                # Main source code for the project
│   ├── components/     # Reusable components
│   ├── layouts/          # Layouts
│      └── layout.astro # The layout
│   ├── pages/          # Page components (maps to routes)
│   │   └── index.astro # The home page
│   ├── styles/         # Global and page-specific styles
│
├── astro.config.mjs
├── package.json    
├── tsconfig.json     
├── .gitignore 
├── node_modules/
└── package-lock.json