React 服务器端配置工具 kkt-ssr

码农软件 · 软件分类 · React 开源项目 · 2019-04-27 21:27:29

软件介绍

无需配置即可创建React服务器端工具。

快速开始

npx create-kkt-app my-app
cd my-app
npm start

您还可以从其中一个示例初始化项目。 例如jaywcjlove/kkt-ssr

# Using the template method
# `npx create-kkt-app my-app [-e example name]`
npx create-kkt-app my-app -e react-router+rematch

or

npm install -g create-kkt-app
# 创建项目,使用模板方法
create-kkt-app my-app -e react-router+rematch
cd my-app # 输入my-app目录
npm start # 开始服务

开发

以开发模式运行项目。

npm run start

生产环境

将生产应用程序,构建到构建文件夹。

npm run build

构建被缩小,文件名包含哈希。 您的应用已准备好部署!

# 在生产中运行已编译的应用程序。
npm run server

示例

对于生产项目,建议使用完整的 react + react-router + rematch(redux) 示例,类似于 next.js.

 

本文地址:https://www.codercto.com/soft/d/4530.html

Beginning Google Maps API 3

Beginning Google Maps API 3

Gabriel Svennerberg / Apress / 2010-07-27 / $39.99

This book is about the next generation of the Google Maps API. It will provide the reader with the skills and knowledge necessary to incorporate Google Maps v3 on web pages in both desktop and mobile ......一起来看看 《Beginning Google Maps API 3》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具