react-router v4 按需加載

1. 先安裝 bundle-loader  2.安裝後添加組件 bundle.jsx  這個組件是webpack官方提供 import React from 'react'; import PropTypes from 'prop-types';   class Bundle extends React.Component {   state = {   mod: null   }     com
相關文章
相關標籤/搜索