This package has been deprecated

Author message:

please use https://www.npmjs.com/package/create-h5-app

create-apfe-app

1.0.5 • Public • Published

create apfe app

中文版


NPM version build status Test coverage node version npm download

Yet Another Vue App Starter Kit.

Introduction

A simplified template for vue single-page applications.

Usage

Create project

$ npm i create-apfe-app -g
$ create-apfe-app [path/to/project]

For more options, please read usage:

$ create-apfe-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 and vendors.

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

Readme

Keywords

none

Package Sidebar

Install

npm i create-apfe-app

Weekly Downloads

11

Version

1.0.5

License

MIT

Unpacked Size

195 kB

Total Files

72

Last publish

Collaborators

  • zyhack