当前位置: 首页 > 软件库 > 云计算 > >

react-flux-gulp-starter

授权协议 MIT License
开发语言 Java
所属分类 云计算
软件类型 开源软件
地区 不详
投 递 者 钱元徽
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Universal React-Flux-Gulp Boilerplate

We don't always choose universal React, Flux and Gulp – but when we do, we clone this.

Core

Build tools

Getting Started

This project leverages Docker to run local and remote environments. Here's a quick introduction to Docker via their documentation:

Docker provides a way to run applications securely isolated in a container, packaged with all its dependencies and libraries. Because your application can always be run with the environment it expects right in the build image, testing and deployment is simpler than ever, as your build will be fully portable and ready to run as designed in any environment. And because containers are lightweight and run without the extra load of a hypervisor, you can run many applications that all rely on different libraries and environments on a single kernel, each one never interfering with the other. This allows you to get more out of your hardware by shifting the “unit of scale” for your application from a virtual or physical machine, to a container instance.

To get up and running locally, perform the following steps:

  1. Install Docker For Mac
  2. Add an .env file
  3. Run ./dev.sh

The project should be viewable at http://localhost:3000.


Don't want to run Docker? Run it locally...

$ npm install --global gulp
$ npm install
$ gulp

To generate a production build, run the following:

$ gulp production

Documentation

 相关资料
  • Starter React Flux Starter-React-Flux generates a well-configured project of React and Flux PWA. TypeScript and JavaScript are supported. npm and yarn are supported. Quick start mkdir my-app && cd my-

  • An app demo build with Gulp, React, Ratchet. Build Execute init.sh to install core gulp plugins。 Execute gulp command to build all source。 Open public/views/login.html or register.html in Chrome's dev

  • 我正在TypeScript中重建Atlassian React-Flux教程(使用来自tsd的React、Flux和Node的绑定),但在实现dispatcher时遇到了一个问题,它本质上是一个单例。 我正在尝试以下方法: AppDispatcher.ts 就像在教程中一样,我使用localStorage上的JSON文件来伪造Web API。所以我的ActionCreator执行以下操作: Act

  • 温馨提示:该项目除了使用 BSD 协议授权外,还需遵守附加的 专利授权。 Flux 是一个Facebook开发的、利用单向数据流实现的应用架构,用于 React。Flux应用有三个主要的部分组成:调度程序、存储和视图(React 组件)。 Facebook工程经理Tom Occhino说,由于他们“非常巨大”的代码库和庞大的组织,因而需要“以某种方式使代码结构化,使其更加可预测”。这已经通过 Fl

  • 这篇快速上手指南将教你如何使用Gulp构建TypeScript,和如何在Gulp管道里添加Browserify,uglify或Watchify。 本指南还会展示如何使用Babelify来添加Babel的功能。 这里假设你已经在使用Node.js和npm了。 我们首先创建一个新目录。 命名为proj,也可以使用任何你喜欢的名字。 mkdir proj cd proj 我们将以下面的结构开始我们的工程

  • 更改历史 * 2017-11-12 杨海月 增加xxx内容,更改xxx内容,删除xxx内容 * 2017-11-01 胡小根 初始化文档 第一章 历史、现状及发展 1.1 gulp历史 gulp是前端开发过程中一种基于流的 代码构建工具 ,是自动化项目的构建利器;它不仅能对网站资源进行优化,而且在开发过程中很多重复的任务能够使用正确的工具自动完成;使用它,不仅可