dvajs / dva-example-user-dashboard

👲 👬 👨‍👩‍👧 👨‍👩‍👦‍👦
446 stars 205 forks source link

下载完之后 NPM START 运行不起来 #24

Closed z253573760 closed 7 years ago

z253573760 commented 7 years ago

终端提示信息如下 G:\dva-example-user-dashboard-master>npm start

@ start G:\dva-example-user-dashboard-master roadhog server

Failed to start the server, since you have enabled dllPlugin, but have not run roadhog buildDll before roadhog server.

cheneddie commented 7 years ago

到package.json增加 "prestart": "npm run build:dll", like "scripts": { "prestart": "npm run build:dll", ... 之後再npm start即可