Skip to content

Vue CLI 'webpack' template doesn't work out of the box #2359

@command-tab

Description

@command-tab

Version

2.4.0

Node and OS info

node 10.8.0 / yarn 1.7.0 / macOS 10.13.6

Steps to reproduce

mkdir testapp
cd testapp
vue init webpack
yarn install
yarn run dev

What is expected?

I expected the generated app to not throw errors and show a generic app placeholder.

What is actually happening?

The http://localhost:8080 browser viewport is blank and the console has an error:

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

(found in Root)

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