タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

Vueとaxiosに関するhoscoのブックマーク (2)

  • 第二回 Vue.jsでWebアプリをつくろう! | MONSTER DIVE

    前回、Vue.jsのトリコになって、試しに時計アプリを作成してみましたが、二回目の今回はもう少し複雑なアプリを作りたいと思います。 作るのはiTunesのAPIを使ったiTunesSearchです! 実装ポイントはAPIとの通信による非同期処理とそれに伴うローディングの実装、親コンポーネントと子コンポーネントの連携方法などです。 開発環境構築 基的な開発環境の構築は前回の記事を参考にしてください。 今回は axios というhttp通信を行う為のライブラリを使用するので、 コマンドプロンプト(ターミナル)に npm install -S axios と、入力してインストールしてください。 これで準備は完了です。 開発開始 前回同様、ファイルの整理から始めます。 src/App.vue を開いて <template> </template> <script> </script> <styl

    第二回 Vue.jsでWebアプリをつくろう! | MONSTER DIVE
  • How to Handle File Uploads in Vue 2 | DigitalOcean

    Introduction In this article, we will talk about how to handle file uploads with VueJs. We will create an images uploader that allow user to upload single or multiple images file by drag and drop or select file dialog. We will then upload the selected images and display them accordingly. We will also learn to filter the upload file type, for example, we only allow images, do not allow file type li

    How to Handle File Uploads in Vue 2 | DigitalOcean
  • 1