lkoma / magic

A Vue+Webpack project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

magic

A Vue+Webpack project architecture

Init

# install dependencies
yarn install
# init submodules
sh init.sh

Devlop

yarn run dev
# or 
yarn run develop
# or 
yarn run start
# build for production and view the bundle analyzer report
yarn run dev jarvis

Lint

# check code style
yarn run lint

# or auto-fix it
yarn run lint-fix

Build

# build for production with minification
yarn run build

# build for production and view the bundle analyzer report
yarn run build report

Create a module

yarn run add [name]

About

A Vue+Webpack project


Languages

Language:JavaScript 67.0%Language:Vue 28.4%Language:CSS 3.0%Language:HTML 1.5%Language:Shell 0.1%