Open fukai-t opened 1 year ago
2023-02-12 astro
Astro を試す前に nodejs のアップデートが必要
sudo npm install -g n
sudo n lts
hash -r
npm create astro@latest # Do as the following
cd ./try-astro/test-project
npm run dev
deep@dace:~/try-astro$ npm create astro@latest
╭─────╮ Houston:
│ ◠ ◡ ◠ Time to build a faster website.
╰─────╯
astro v2.1.5 Launch sequence initiated.
dir Where should we create your new project?
./try-astro/test-project
tmpl How would you like to start your new project?
Include sample files
✔ Template copied
deps Install dependencies?
Yes
✔ Dependencies installed
ts Do you plan to write TypeScript?
Yes
use How strict should TypeScript be?
Strict
✔ TypeScript customized
git Initialize a new git repository?
Yes
✔ Git initialized
next Liftoff confirmed. Explore your project!
Enter your project directory using cd ./try-astro/test-project
Run npm run dev to start the dev server. CTRL+C to stop.
Add frameworks like react or tailwind using astro add.
Stuck? Join us at https://astro.build/chat
╭─────╮ Houston:
│ ◠ ◡ ◠ Good luck out there, astronaut! 🚀
╰─────╯
Requirements
[ ] 文献情報が楽に管理できる
[ ] Choose SSG Candidates of SSG
[ ] Choose contents manager (Headless CMS?)