Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This experimental syntax requires enabling one of the following parser plugin(s): 'decorators-legacy, decorators' #5866

Copy link
Copy link
Closed
@PachVerb

Description

@PachVerb
Issue body actions

Version

4.5.4

Environment info

 System:
    OS: macOS Mojave 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
  Binaries:
    Node: 12.14.1 - /usr/local/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/bin/npm
  Browsers:
    Chrome: 85.0.4183.102
    Edge: Not Found
    Firefox: 80.0
    Safari: 13.1
  npmGlobalPackages:
    @vue/cli: 4.5.4

Steps to reproduce

vue cli 初始化项目,手动预选插件及其他设置

初始化完成,说明:整个项目是由ts 构建 外加eslint代码质量检查。

运行项目 npm dev, commland line 提示错误 无法解释ts装饰器。浏览器访问初始化的demo,切换路由,路由无法正确加加载渲染

What is expected?

能够使用装饰器语法,

What is actually happening?

缺少loader,编译ts装饰器语法。

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.