Comments (4)
@artskin 我这边经测试,这个小括号去不去都一样的
起初我把app.vue 中 TS部分删除即可,后来我发现,其他的vue页面引用的vue是通过vue-property-decorator
修改成 vue-property-decorator 方式即可
from vue-typescript-admin-template.
我是这么处理的,main.ts文件里,h外边的小括号去掉就好了
from vue-typescript-admin-template.
Make sure it fix the bug and you can send a PR if you want :)
from vue-typescript-admin-template.
@renxiaomeng @artskin 修好了 方法是加上@Compnent 修饰符 因为我们用的是vue-class-component, 需要前后保持统一
Vue那个倒是无所谓 因为vue-property-decorator的vue也是直接import的原生的vue
具体可以看我上面给的链接
from vue-typescript-admin-template.
Related Issues (20)
- 打包报错了 HOT 1
- 请问如何修改网页标题旁边的logo呢
- store动态挂载无效
- vscode下该使用什么插件来格式化typescript呢? HOT 1
- 能否改为采用vite呢? HOT 2
- element-ui 升级 HOT 1
- 项目维护
- Build error.
- 什么时候发布支持Vue3版的?
- is:issue is:open 您好,我想问下这个项目是vue2还是vue3的,因为我看这个vue版本是2.6
- Error: Rule can only have one resource source (provided resource and test + include + exclude) in HOT 1
- node 16以上无法正常运行,报错 HOT 3
- vue.config.js中添加devServer.proxy,无法代理 HOT 1
- 安装依赖之后,运行直接报错运行不起来 HOT 2
- 克隆下来,执行 yarn install 报如下错 HOT 2
- 依赖各种冲突 不能运行 HOT 2
- Vue 3.2 Support
- c
- 解决因为node版本问题导致项目无法运行 HOT 1
- 如何删除模板中多余控件
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-typescript-admin-template.