Giter Club home page Giter Club logo

create-h5-app's Introduction

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

$ 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

create-h5-app's People

Contributors

antife-yinyue avatar gaius-qi avatar hagerhu avatar maple0817 avatar paradite avatar zhangyuheng avatar

Watchers

 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.