0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

axiosとは

HTTP通信を簡単に行うことができる JavaScriptライブラリ

以下でインストールしてください。
個人的にはyarnを推奨しております。

yarn

yarn add @nuxtjs/axios

npm

npm install --save @nuxtjs/axios

nuxt.config.js の 「modules」 に追記

nuxt.config.js
export default {

====
 
  // Modules: https://go.nuxtjs.dev/config-modules
  modules: [
    // https://go.nuxtjs.dev/axios
    '@nuxtjs/axios',
  ],

====

}

こちらでaxiosを使える準備は完了です!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?