You can grab a cool Astro badge after successful merged PR from here
You can clone the project directly from this repo to your local system.
git clone https://github.com/ZeroOctave/resource-gallery.git .
The .
will clone it to the current directory so make sure you are inside your project folder first.
npm install
# or
yarn install
# or (recommended)
pnpm install
npm run dev
# or
yarn dev
# or (recommended)
pnpm dev
npm run preview
npm run build
# or
yarn preview
yarn build
# or (recommended)
pnpm preview
pnpm build
We recommend using pnpm to save disk space on your computer.
pnpm astro ...
pnpm astro add
pnpm astro --help
git checkout -b YourBranchName
- In your forked repository, click on "Fetch upstream"
- Click "Fetch and merge"
git fetch upstream
git merge upstream/main
Github Docs for Syncing
package.json
or package-lock.json
file
git add .
or git add *
Instead, stage your changes for each file/folder
By using public path it means it will add all files and folders under that folder, it is better to be specific
git add public
or
git add "<files_you_have_changed>"
git commit -m "<your_commit_message>"
git push origin YourBranchName
11. Create a Pull Request!
Inside of your Astro project, you'll see the following folders and files:
/
├── public/
│ └── ...
├── src/
│ ├── components/
│ │ └── ...
│ ├── layouts/
│ │ └── ...
│ └── pages/
│ └── ...
└── package.json
Astro looks for .astro
or .md
files in the src/pages/
directory. Each page is exposed as a route based on its file name.
Any static assets, like images, can be placed in the public/
directory.
TailwindCSS is already configured in this repo, so you can start using it without any installation.
Feel free to check out Astro Docs