diff --git a/content/blog/what-is-reactivity/angular-reactivity/src/main.ts b/content/blog/what-is-reactivity/angular-reactivity/src/main.ts index 9676a792..ca1358a1 100644 --- a/content/blog/what-is-reactivity/angular-reactivity/src/main.ts +++ b/content/blog/what-is-reactivity/angular-reactivity/src/main.ts @@ -1,4 +1,4 @@ -import "zone.js/dist/zone"; +import "zone.js"; import { bootstrapApplication } from "@angular/platform-browser"; import { Component } from "@angular/core"; @@ -18,7 +18,7 @@ import { NgFor } from "@angular/common"; `, }) -export class AppComponent { +class AppComponent { count = 0; } diff --git a/content/blog/what-is-reactivity/index.md b/content/blog/what-is-reactivity/index.md index 31a52485..4b525fea 100644 --- a/content/blog/what-is-reactivity/index.md +++ b/content/blog/what-is-reactivity/index.md @@ -261,7 +261,7 @@ export class AppComponent { -### Vue +## Vue ```vue