@usoft-fe/vue-cli
Chongqing ©USoft front-end vue-cli.
Last updated 2 months ago by leo_ran .
ISC · Original npm · Tarball · package.json
$ cnpm install @usoft-fe/vue-cli 
SYNC missed versions from official npm registry.

usoft-fe/vue-cli

Chongqing ©USoft front-end vue-cli.

Install

> npm i -g @usoft-fe/vue-cli

Use

> usoft-vue create <app-name>
> cd <app-name>
> yarn start
# or
> npm start

Configuration

Create usoft.config.js in your project root directory;

module.exports = {
    less(config) {
        // update config object
        return config;
    },
    sass() {
        // update config object
        return config;
    },
    ts(config) {
        // update config object
        return [config];
    },
    // https://www.webpackjs.com/configuration/module/
    overwriteLoaders(loaders) {
        // update loaders object
        return loaders;
    },
    // https://www.webpackjs.com/configuration/plugins/
    overwritePlugins(plugins) {
        // update plugins object
        return plugins;
    },
    // https://www.webpackjs.com/configuration/dev-server/#devserver
    devServer: DevServerConfiguration,
    // https://www.webpackjs.com/configuration/
    webpack: WebpackConfiguration,
}

Current Tags

  • 1.0.6                                ...           latest (2 months ago)

6 Versions

  • 1.0.6                                ...           2 months ago
  • 1.0.5                                ...           2 months ago
  • 1.0.3                                ...           2 months ago
  • 1.0.2                                ...           2 months ago
  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (6)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |