@ubbcou/react-scripts-mpa
Configuration and scripts for Create React App.
Last updated a year ago by ubbcou .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @ubbcou/react-scripts-mpa 
SYNC missed versions from official npm registry.

react-scripts

This package includes scripts and configuration used by Create React App.
Please refer to its documentation:

自定义结果

输出多页应用

在项目根目录的 package.json中填写

pages: {
    index: {
      // page 的入口
      entry: 'src/index/main.js',
      // 模板来源
      template: 'public/index.html',
      // 在 dist/index.html 的输出
      filename: 'index.html',
      title: 'Index Page',
    },
    subpage: 'src/subpage/main.js'
  }

Current Tags

  • 2.0.8                                ...           beta (a year ago)
  • 2.0.6                                ...           latest (a year ago)

4 Versions

  • 2.0.8                                ...           a year ago
  • 2.0.7                                ...           a year ago
  • 2.0.6                                ...           a year ago
  • 2.0.5                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |