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

create-h5-app

Package Overview
Dependencies
Maintainers
5
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-h5-app

another vue app starter kit

  • 1.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
5
Weekly downloads
 
Created
Source

create h5 app

中文版


NPM version Build status Coverage status Dependency status

Yet Another Vue App Starter Kit.

Introduction

A simplified template for vue single-page applications.

Usage

Create project

  • use apfe-cli
$ npm i apfe-cli -g
$ apfe create h5-app path/to/project
$ apfe create h5-app path/to/project -c mynpm # use specified npm client
  • use standalone cli
$ npm i create-h5-app -g
$ create-h5-app path/to/project

For more options, please read usage:

$ create-h5-app --help

Build project

$ npm i
$ npm run dev
$ npm run build

Test project

$ npm run dev:test
$ npm run test

Features

  • 🚪 Build single entry and multiple entry applications.

  • 👏 Dynamically load modules.

  • 🍔 Optimization of spliting the chunk.

  • 🌼 @babel/preset-env using a .browserslistrc file to specify targets.

  • 📹 Creating SVG sprites.

  • 🌐 Vue I18n for internationalization.

  • 🎲 Keep it simple and easy to understand.

  • 🚀 Keep updating with webpack, babel, postcss, etc.

  • 🐵 An open-source automation test solution(Macaca).

  • 📦 DataHub for data provider / mock.

Webpack Build Detail

Compile Result

vue-webpack-starter-kit

Webpack Build Report

All modules.

vue-webpack-starter-kit

Except vue-package.

vue-webpack-starter-kit

  • Spliting and asynchronous load modules: Making each page load the least amount of data.
  • vue-package: Including vue related modules, which are less updated.
  • vendor: node_modules except vue modules.
  • typhoon and tornado: Typhoon and tornado respective entrance common parts.
  • common: Common part of the entrance of typhoon and tornado.
  • router-typhoon-home and router-tornado-home: Their own home.vue.
  • lang modules: I18n modules.

FAQ

Will it be updated in time?

Of course, our team will always follow up.

What is Datahub and Macaca?

This is our integrated set of test and mock solutions. https://macacajs.github.io

License

MIT

FAQs

Package last updated on 20 Mar 2019

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