Skip to content

[vue] 实际工作中,你总结的vue最佳实践有哪些? #467

Open
@haizhilin2013

Description

@haizhilin2013
Collaborator

[vue] 实际工作中,你总结的vue最佳实践有哪些?

Activity

forever-z-133

forever-z-133 commented on Jun 28, 2019

@forever-z-133

存一份 defaultData 方便直接初始化,特别是带表单的弹窗也写在一起没有生命周期的时候。

yelingfeng

yelingfeng commented on Jul 10, 2019

@yelingfeng

vue ts写法 vue-tsx-support vue-property-decorator

iugu516

iugu516 commented on Sep 4, 2019

@iugu516

.babelrc 是目前 babel-polyfill 的最佳实践
{
"presets": [
[
"@babel/preset-env",
{
"corejs": "3",
"modules": false,
"useBuiltIns": "usage"
}
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"corejs": false,
"helpers": true,
"regenerator": false,
"useESModules": true
}
]
]
}

mingyec

mingyec commented on Mar 30, 2020

@mingyec

全部存在vue风格指南里面了

radio-qq

radio-qq commented on Dec 31, 2020

@radio-qq

全部存在vue风格指南里面了

小机灵鬼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @yelingfeng@haizhilin2013@mingyec@forever-z-133@radio-qq

        Issue actions

          [vue] 实际工作中,你总结的vue最佳实践有哪些? · Issue #467 · haizlin/fe-interview