-
-
Notifications
You must be signed in to change notification settings - Fork 237
dev-server: Uncaught ReferenceError: __decorate is not defined #91
Comments
Hm.. you are using the new devServer? |
I have just released |
I'm not sure what you mean by |
Same error stays (v 1.3.65) But I found workaround. There is tslib (This is a runtime library for TypeScript that contains all of the TypeScript helper functions.)
Generated code will be:
It allows to get rid of TypeScriptHelpers plugin, here is commit for my boilerplate repo. |
Hey I fixed it, but have not released it yet (I actually tested it) will comment when it gets out |
Please, check the version
|
It works. Super! Thanks. |
Same problems:
adding tslib and |
@davidm-public here is what i did import {default as Vue} from "vue/dist/vue.esm.js";
import {Component} from "vue-property-decorator";
@Component
export class A extends Vue {
}
const component= new A();
console.log(component); notice the import for vue is pointing to the alias: {
vue: `vue/dist/vue.esm.js`
} check the image |
Updating "app.component.js" ...
app.component.ts
transpiled app.component (str)
I'm using TypeScriptHelpers plugin.
The text was updated successfully, but these errors were encountered: