Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7b4844b

Browse files
committed
Start FrontEnd with Astro
1 parenta59a3a8 commit7b4844b

File tree

193 files changed

+1171
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+1171
-1
lines changed

‎Astro-TFG/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# build output
2+
dist/
3+
4+
# generated types
5+
.astro/
6+
7+
# dependencies
8+
node_modules/
9+
10+
# logs
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

‎Astro-TFG/.prettierrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"printWidth": 80,
3+
"semi": true,
4+
"singleQuote": true,
5+
"trailingComma": "es5",
6+
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"]
7+
}

‎Astro-TFG/.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

‎Astro-TFG/.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version":"0.2.0",
3+
"configurations": [
4+
{
5+
"command":"./node_modules/.bin/astro dev",
6+
"name":"Development server",
7+
"request":"launch",
8+
"type":"node-terminal"
9+
}
10+
]
11+
}

‎Astro-TFG/README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
#Astro Starter Kit: Basics
2+
3+
```sh
4+
npm create astro@latest -- --template basics
5+
```
6+
7+
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/basics)
8+
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/basics)
9+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/basics/devcontainer.json)
10+
11+
>🧑‍🚀**Seasoned astronaut?** Delete this file. Have fun!
12+
13+
![just-the-basics](https://github.com/withastro/astro/assets/2244813/a0a5533c-a856-4198-8470-2d67b1d7c554)
14+
15+
##🚀 Project Structure
16+
17+
Inside of your Astro project, you'll see the following folders and files:
18+
19+
```text
20+
/
21+
├── public/
22+
│ └── favicon.svg
23+
├── src/
24+
│ ├── layouts/
25+
│ │ └── Layout.astro
26+
│ └── pages/
27+
│ └── index.astro
28+
└── package.json
29+
```
30+
31+
To learn more about the folder structure of an Astro project, refer to[our guide on project structure](https://docs.astro.build/en/basics/project-structure/).
32+
33+
##🧞 Commands
34+
35+
All commands are run from the root of the project, from a terminal:
36+
37+
| Command| Action|
38+
| :------------------------| :-----------------------------------------------|
39+
|`npm install`| Installs dependencies|
40+
|`npm run dev`| Starts local dev server at`localhost:4321`|
41+
|`npm run build`| Build your production site to`./dist/`|
42+
|`npm run preview`| Preview your build locally, before deploying|
43+
|`npm run astro ...`| Run CLI commands like`astro add`,`astro check`|
44+
|`npm run astro -- --help`| Get help using the Astro CLI|
45+
46+
##👀 Want to learn more?
47+
48+
Feel free to check[our documentation](https://docs.astro.build) or jump into our[Discord server](https://astro.build/chat).

‎Astro-TFG/astro.config.mjs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//@ts-check
2+
import{defineConfig}from"astro/config";
3+
importtailwindcssfrom"@tailwindcss/vite";
4+
5+
// https://astro.build/config
6+
exportdefaultdefineConfig({
7+
vite:{
8+
plugins:[tailwindcss()],
9+
},
10+
});

‎Astro-TFG/package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name":"astro-tfg",
3+
"type":"module",
4+
"version":"0.0.1",
5+
"scripts": {
6+
"dev":"astro dev",
7+
"build":"astro build",
8+
"preview":"astro preview",
9+
"astro":"astro"
10+
},
11+
"dependencies": {
12+
"@tailwindcss/cli":"^4.1.4",
13+
"@tailwindcss/vite":"^4.1.4",
14+
"astro":"^5.7.9"
15+
},
16+
"devDependencies": {
17+
"tailwindcss":"^4.1.4"
18+
}
19+
}

‎Astro-TFG/public/favicon.svg

Lines changed: 9 additions & 0 deletions
Loading
18 KB
Loading
56.8 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp