Skip to content

package.json assumes global installations #40

@appurist

Description

@appurist

I don't really have a problem at all with this requirement, but I didn't realize at first that the problems I was having with the browserify template were because I didn't have the following installed globally:
cross-env, uglifyjs, and browserify

I think the first line of the commands specified in the readme.md should include this, or even better, a second line be inserted like inthe following:
$ npm install -g vue-cli
$ npm install -g cross-env uglifyjs browserify
$ cd my-project
$ npm install
$ npm run dev

The symptom is that there is no build.js file in the dist folder after an npm build, and opening index.html just shows an empty white browser window. I think this can easily be resolved with only this small documentation update. (Or am I missing something?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions