Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

riot-zero

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot-zero

> 这是一个riot框架的脚手架工具,你可以使用它构建复杂的spa应用.

  • 1.1.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

riot-zero

这是一个riot框架的脚手架工具,你可以使用它构建复杂的spa应用.

Usage

首先你需要全局安装 riot-zero :

npm install riot-zero -g

下载全局的gulp(因为riot-zero依赖gulp命令)

npm install gulp -g

下载本地依赖

npm install

初始化你的项目

zero init -y

开发环境

zero dev -p 8081

生产环境

zero dist

#配置文件server.js

你需要对目标服务器进行配置

targetServer:{
    port: '',
    host: '',
    replaceHeaders: true,
    header:{
        cookie:''

    }
}

FAQs

Package last updated on 06 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc