Socket
Socket
Sign inDemoInstall

webpack-cli-multi

Package Overview
Dependencies
3
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-cli-multi

a simple webpack config cli for multi apps suooprt vue & react


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
3.92 MB
Created
Weekly downloads
 

Readme

Source

Introduce

this is a simple self use cli for multi-views app with webpack

Base on

node 8.6.0 npm 5.3.0

Quick to start

1.make sure you have install webpack npm with global 2.download this project 3.npm install 4.npm run dev-* (example:npm run dev-mobile) develop mode 5.npm run build-* (example:npm run build-mobile) build mode

Directory

|--- dist #build files
|--- node_modules #node packages
|--- src #dev folder
    |--- components #global components
    |--- css #global css
        |--- common.scss #global css-style
        |--- variable.scss #global css-variable
    |--- img #global img
    |--- js #global script
        |--- api.js #api conf
        |--- common.js #global js with all plugins & functions & conts
        |--- ...
    |--- static #static files for relative path
    |--- views #all views
        |--- mobile #display mode
            |--- components #private components
            |--- css #private css
            |--- img #private img
            |--- js #private js
            |--- router #private router
            |--- App.vue #main vue
            |--- main.js #main entry
        |--- pc #display mode
            |--- ... #just like what in mobile
        |--- thinker #display mode
            |--- ... #just like what in mobile
        |--- ...  #and so on
    |--- template.html #html template for webpack
|--- .babelrc #babel conf
|--- .gitignore #git ignore conf
|--- package.json #all dependencies
|--- postcss.config.js #postcss conf
|--- README.md #this file
|--- webpack.config.js #webpack file

FAQs

Last updated on 13 Dec 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc