npx degit --force sarioglu/svelte-tailwindcss-template .
TypeScriptに変換する
node scripts/setupTypeScript.js
mkdir src/components
touch src/components/Header.svelte
npm install svelte-spa-router
mkdir src/pages/
touch src/pages/SearchBook.svelte
mkdir src/router
touch src/router/index.ts
APIとの通信をRepositoryによって抽象化する
npm install axios
mkdir src/repositories
touch src/repositories/httpClient.ts
mkdir src/repositories/book
touch src/repositories/book/types.ts
touch src/repositories/book/BookRepository.ts
touch src/repositories/book/index.ts
touch src/repositories/RepositoryFactory.ts
touch src/components/SearchBar.svelte
touch src/components/Spinner.svelte
touch src/components/BookCard.svelte
npm i svelte-infinite-scroll
mkdir -p src/store/book
touch src/store/book/index.ts