Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved Issue #1 #11

Merged
merged 6 commits into from
Jan 11, 2020
Merged

Resolved Issue #1 #11

merged 6 commits into from
Jan 11, 2020

Conversation

hideto2112
Copy link
Collaborator

@hideto2112 hideto2112 commented Jan 8, 2020

Changes

chore(package): Update dependencies for audit 18ee937

  • audit対応のためのpackage更新

chore(gitigonore): Update gitignore related settings c0cf250

  • site/apis内のaspidaが自動生成する$から始まるTSファイルが除外できていなかったため記述変更

chore(eslint): Update eslint settings bc0d247

  • ESLintの設定をpackage内から.eslintrc.js へ移行(追加する設定で環境変数により切替を行うため)
  • ルール追加)1ファイル200行以下
    可読性を高めるため、1ファイルあたりの行数を200行以下に制限
    超える場合はファイルを分割する
  • ルール変更)consoleの使用禁止
    デバッグ などに使用するため、開発中は許可
  • ルール追加)文字列の結合にはテンプレートリテラルを使う
// OK)
`${this.lastname} ${this.firstname}`
// NG)
this.lastname + ' ' + this.firstname

feat(package): Add Vuetify and its settings 27748f6

  • Vuetifyの導入
  • カスタムフォントの設定例として、仮でNoto Sans JPを設定

feat(pages): Add Vuetify and asyncData examples fb75532

  • トップページにユーザーごとのボタンを配置し、画面遷移先を作成
  • Vuetifyの使用例を追加
    ボタンとカードを使用
  • asyncDataの使用例を追加
    Vuexは必要性があるときのみ使用する
    今回はasyncDataの使い方の例なので、必要性は考慮していない
  • asyncData

場合によっては、ストアを使用せずにデータをフェッチし、サーバー上でプレレンダリングしたい場合があります。 asyncData は ページ コンポーネントがローディングされる前に常に呼び出されます。(中略)クライアントサイドではページ遷移をするたびに呼び出されます。
asyncData メソッド(Nuxt.js公式Doc)

chore(tsconfig): Add settings to avoid Vetur errors eb7914b

Resolved #1

@hideto2112 hideto2112 changed the title Resolved #1 Resolved Issue#1 Jan 8, 2020
@hideto2112 hideto2112 changed the title Resolved Issue#1 Resolved Issue #1 Jan 8, 2020
@maccostar maccostar merged commit b9f7563 into aspida:master Jan 11, 2020
@hideto2112 hideto2112 deleted the feature/issue-1 branch January 11, 2020 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FE]frontendのディレクトリ構成作成
2 participants