Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は Webpack が初めてで、React プロジェクトで axios を使用しています。npm経由でaxiosをインストールしてから、使用したいときに次のようにインポートしています:
import axios from 'axios/dist/axios.min.js';
残りは Webpack が処理します。これは「正しい」方法ですか?