1.0.9 • Published 12 months ago

@nbfe/react-cli v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

使用

npm i -D @nbfe/react-cli

命令行

  • npx react-cli serve // 启动开发服务器
  • npx react-cli build // 生产环境下构建
  • npx react-cli inspect // 检查内部 webpack 配置

api 调用

const { getWebpackConfig } = require('@nbfe/react-cli')

const webpackConfig = getWebpackConfig(false)

react.config.js

module.exports = config => {
  const { isDevelopment, isMac, ipAddress } = config
  return {
    devServer: {
      port: 3000
    },
    dllEntry: {
      vendor: ['react', 'react-dom']
    }
  }
}

Vue CLI 文档

1.0.9

12 months ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.2

1 year ago

0.3.7

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.0

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.1.10

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago