【WeChat Mini Program Self-study Road】【wepy】 How to install wepy/cli 1.x and 2.x

Now wepy has reached 2.x

Let’s see how to install wepy 1.x and wepy 2.x

Install wepy/cli 1.x

npm install wepy-cli -g

1
$ npm install wepy-cli -g

Install wepy/cli 2.x

npm install @wepy/cli -g

1
$ npm install @wepy/cli -g

Continue to other wepy Sao operations

Initially create a project

1
$ wepy init standard myprojection

Install dependencies

1
$ npm install

Start and start listening

1
$ wepy build --watch

Persist in original technology sharing, your support will encourage me to continue to create!