GithubHelp home page GithubHelp logo

aliandpeachorg / react-multi-page-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freyhill/react-multi-page-app

0.0 1.0 0.0 477 KB

🍡 react multi page app/react多页面应用

Home Page: https://h5cool.com/react-multi-page-app/demo

License: MIT License

JavaScript 89.47% CSS 7.96% HTML 2.57%

react-multi-page-app's Introduction


       

react-multi-page-app


English | 中文

React-multi-page-app is a multi-page application architecture based on react and webpack. Through compiling and generating static pages with clear corresponding directory structure, multi-page development and maintenance can be realized conveniently.

Overview

key value
name react-multi-page-app
desc a scaffold of create react multi page app
cli rppx
author leinov
version 1.3.0

Demo

www.h5cool.com/react-multi-page-app/demo

  • home page - a simple overview page
  • react-redux todo list
  • a link to github

Feature

  • 👩‍👩‍👧‍👧 Support multiple pages simultaneously hot loading development
  • 📇 Automatically identifies newly created pages
  • 📝 Each page generates personalized information
  • 🚻 Classification of packaging
  • 🔗 Flexible extend

Install

npm install rppx-cli -g

Quick Start

install rppx-cli in global and create your new project ,use npm start the project

install

$ npm install rppx-cli -g

create your multi page

$ rppx init my-react

install dependencies

$ npm install 

dev

$ npm run dev

build

$ npm run build

start project

$ npm start

Automatically open browser with development: http://localhost:3100 / production: http://localhost:3118

Usage

create a new page in the pages directory of src. and run npm run dev in the root directory of project

|-- src
    |-- index/
    |-- page2/
        |-- index.js
        |-- page2.scss
        |-- pageinfo.json
  • How to implement
  • How to structure
  • Use in detail

Version

version desc
1.3.0 add cli
add demo page
refactoring and optimize
1.2.0 add html template
1.1.0 init

License

MIT

react-multi-page-app's People

Contributors

freyhill avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.