A Vue.js project
This is a tutorial in nabettu's book
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# Unit test
npm test
For detailed explanation on how things work, consult the docs for vue-loader.
- TDDに興味があったので、テキスト外学習としてVue-test-util+Jestでテストコードを書いた
- CSSの代わりにVuetifyを使って見た目を整える
- テストコードが動作しなくなったのでいろいろやるも、Vuetifyのボタンやなんやらはスタブ化されてHTMLレンダリングされないため、Triggerでエミュレートできないという課題を抱える(動かないテストはコメントアウト)
- Webpack4へアップデート
別ブランチを切ってテストツールをAvoriazに変更したブランチを作成。Vertifyのコンポーネントがレンダリングされるがtextareaへのinputでmethodが動かないため困るVue-test-utilのIssueがコミットされたので、次回リリース後にVue-test-utilを使ってテストを書き直す予定