{"id":3550,"date":"2024-11-10T15:13:17","date_gmt":"2024-11-10T07:13:17","guid":{"rendered":"https:\/\/fwq.ai\/blog\/3550\/"},"modified":"2024-11-10T15:13:17","modified_gmt":"2024-11-10T07:13:17","slug":"%e4%ba%86%e8%a7%a3-angular-%e7%bb%84%e4%bb%b6%e7%9a%84%e5%9f%ba%e6%9c%ac%e6%8c%87%e5%8d%97","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/3550\/","title":{"rendered":"\u4e86\u89e3 Angular \u7ec4\u4ef6\u7684\u57fa\u672c\u6307\u5357"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173105643641846.jpg\" class=\"aligncenter\" title=\"\u4e86\u89e3 Angular \u7ec4\u4ef6\u7684\u57fa\u672c\u6307\u5357\u63d2\u56fe\" alt=\"\u4e86\u89e3 Angular \u7ec4\u4ef6\u7684\u57fa\u672c\u6307\u5357\u63d2\u56fe\" \/><\/p>\n<p>angular \u7ec4\u4ef6\u662f angular \u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u7840\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u6784\u5efa\u7528\u6237\u754c\u9762\u7684\u6a21\u5757\u5316\u3001\u53ef\u91cd\u7528\u90e8\u5206\u7684\u65b9\u6cd5\u3002\u5728\u672c\u6307\u5357\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd angular \u7ec4\u4ef6\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u4ece\u7ed3\u6784\u5230\u6700\u4f73\u5b9e\u8df5\u3002\u65e0\u8bba\u60a8\u662f angular \u65b0\u624b\u8fd8\u662f\u60f3\u590d\u4e60\u4e00\u4e0b\uff0c\u672c\u6587\u90fd\u5c06\u4f7f\u60a8\u5bf9 angular \u4e2d\u7684\u7ec4\u4ef6\u6709\u4e00\u4e2a\u57fa\u672c\u7684\u4e86\u89e3\u3002<\/p>\n<h2> \u4ec0\u4e48\u662f\u89d2\u5ea6\u5206\u91cf\uff1f <\/h2>\n<p>\u5728 angular \u4e2d\uff0c\u7ec4\u4ef6\u662f\u63a7\u5236\u7528\u6237\u754c\u9762 (ui) \u90e8\u5206\u7684\u7c7b\u3002\u60f3\u60f3\u6309\u94ae\u3001\u9009\u9879\u5361\u3001\u8f93\u5165\u3001\u8868\u5355\u548c\u62bd\u5c49\uff08\u5b9e\u9645\u4e0a\u662f ui \u7684\u4efb\u4f55\u90e8\u5206\uff09\u3002\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u5305\u62ec\uff1a<\/p>\n<ol>\n<li> <strong>html \u6a21\u677f<\/strong>\uff1a\u5b9a\u4e49 ui \u7684\u5e03\u5c40\u548c\u7ed3\u6784\u3002<\/li>\n<li> <strong> \u6837\u5f0f<\/strong>\uff1a\u8bbe\u7f6e\u7ec4\u4ef6\u7684\u5916\u89c2\u548c\u6837\u5f0f\u3002<\/li>\n<li> <strong> \u7c7b<\/strong>\uff1a\u5305\u542b\u7ec4\u4ef6\u7684\u903b\u8f91\u548c\u6570\u636e\u3002<\/li>\n<li> <strong>\u5143\u6570\u636e<\/strong>\uff1a\u63d0\u4f9b angular \u8bc6\u522b\u548c\u4f7f\u7528\u7ec4\u4ef6\u7684\u914d\u7f6e\u8be6\u7ec6\u4fe1\u606f\u3002<\/li>\n<\/ol>\n<p>\u7ec4\u4ef6\u5bf9\u4e8e\u521b\u5efa\u6a21\u5757\u5316\u5e94\u7528\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u53ef\u4ee5\u4ee3\u8868\u9875\u9762\u7684\u7279\u5b9a\u90e8\u5206\uff0c\u4f8b\u5982\u6807\u9898\u3001\u4fa7\u8fb9\u680f\u6216\u5361\u7247\u3002<\/p>\n<h2> \u89d2\u5ea6\u7ec4\u4ef6\u7684\u57fa\u672c\u7ed3\u6784 <\/h2>\n<p>angular \u7ec4\u4ef6\u662f\u4f7f\u7528 @component \u88c5\u9970\u5668\u5b9a\u4e49\u7684\uff0c\u5b83\u4f7f\u7528\u5fc5\u8981\u7684\u6a21\u677f\u3001\u6837\u5f0f\u548c\u9009\u62e9\u5668\u5bf9\u5176\u8fdb\u884c\u914d\u7f6e\u3002\u8fd9\u662f\u4e00\u4e2a\u57fa\u672c\u793a\u4f8b\uff1a<\/p>\n<pre>import { component } from '@angular\/core';\n\n@component({\n  selector: 'app-example',\n  templateurl: '.\/example.component.html',\n  styleurls: ['.\/example.component.css']\n})\nexport class examplecomponent {\n  title: string = 'hello, angular!';\n\n  gettitle() {\n    return this.title;\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u6b64\u793a\u4f8b\u4e2d\uff1a<\/p>\n<ul>\n<li> \u9009\u62e9\u5668\u662f\u4ee3\u8868\u7ec4\u4ef6\u7684 html \u6807\u7b7e\u3002<\/li>\n<li> templateurl \u6307\u5411 html \u6a21\u677f\u6587\u4ef6\u3002<\/li>\n<li> styleurls \u6307\u7684\u662f\u7ec4\u4ef6\u7684 css \u6587\u4ef6\u3002<\/li>\n<li> examplecomponent \u7c7b\u4fdd\u5b58\u7ec4\u4ef6\u7684\u6570\u636e\u548c\u903b\u8f91\u3002<\/li>\n<\/ul>\n<h2> \u5178\u578b\u7684\u7ec4\u4ef6\u6587\u4ef6\u5939\u7ed3\u6784 <\/h2>\n<p>angular \u9879\u76ee\u901a\u5e38\u5c06\u7ec4\u4ef6\u53ca\u5176\u5173\u8054\u6587\u4ef6\u7ec4\u7ec7\u5728\u4e00\u4e2a\u6587\u4ef6\u5939\u4e2d\uff0c\u8be5\u6587\u4ef6\u5939\u662f\u4f7f\u7528 angular cli \u65f6\u81ea\u52a8\u521b\u5efa\u7684\u3002\u7ec4\u4ef6\u7684\u5178\u578b\u6587\u4ef6\u5939\u7ed3\u6784\u5305\u62ec\uff1a<\/p>\n<ul>\n<li> <strong>example.component.ts<\/strong>\uff1a\u5b9a\u4e49 typescript \u7c7b\u3002<\/li>\n<li> <strong>example.component.html<\/strong>\uff1a\u5305\u542b html \u6a21\u677f\u3002<\/li>\n<li> <strong>example.component.css<\/strong>\uff1a\u4fdd\u5b58\u7ec4\u4ef6\u6837\u5f0f\u3002<\/li>\n<li> <strong>example.component.spec.ts<\/strong>\uff1a\u5305\u542b\u7ec4\u4ef6\u7684\u6d4b\u8bd5\u3002<\/li>\n<\/ul>\n<h2> \u7ec4\u4ef6\u751f\u547d\u5468\u671f <\/h2>\n<p>angular \u7ec4\u4ef6\u5177\u6709\u5e26\u6709\u94a9\u5b50\u7684\u751f\u547d\u5468\u671f\uff0c\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u5728\u5404\u4e2a\u9636\u6bb5\u6267\u884c\u64cd\u4f5c\u3002\u5e38\u7528\u7684\u751f\u547d\u5468\u671f\u94a9\u5b50\u5305\u62ec\uff1a<\/p>\n<ul>\n<li> <strong>ngoninit<\/strong>\uff1a\u7ec4\u4ef6\u521d\u59cb\u5316\u540e\u8c03\u7528\u3002<\/li>\n<li> <strong>ngonchanges<\/strong>\uff1a\u5f53\u4efb\u4f55\u6570\u636e\u7ed1\u5b9a\u5c5e\u6027\u66f4\u6539\u65f6\u89e6\u53d1\u3002<\/li>\n<li> <strong>ngondestroy<\/strong>\uff1a\u5728 angular \u9500\u6bc1\u7ec4\u4ef6\u4e4b\u524d\u8c03\u7528\u3002<\/li>\n<\/ul>\n<p>\u4f8b\u5982\uff0cngoninit \u7684\u4f7f\u7528\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n<pre>import { component, oninit } from '@angular\/core';\n\n@component({\n  selector: 'app-lifecycle',\n  template: '&lt;p&gt;lifecycle example&lt;\/p&gt;',\n})\nexport class lifecyclecomponent implements oninit {\n  ngoninit() {\n    console.log('component initialized!');\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u751f\u547d\u5468\u671f\u6302\u94a9\u63d0\u4f9b\u4e86\u7075\u6d3b\u6027\uff0c\u53ef\u4ee5\u8f7b\u677e\u7ba1\u7406\u7ec4\u4ef6\u751f\u547d\u5468\u671f\u7279\u5b9a\u9636\u6bb5\u7684\u903b\u8f91\u3002<\/p>\n<h2> \u7ec4\u4ef6\u4e4b\u95f4\u7684\u901a\u4fe1 <\/h2>\n<p>\u5728\u73b0\u5b9e\u5e94\u7528\u7a0b\u5e8f\u4e2d\uff0c\u7ec4\u4ef6\u901a\u5e38\u9700\u8981\u76f8\u4e92\u4ea4\u4e92\u4ee5\u5171\u4eab\u6570\u636e\u6216\u89e6\u53d1\u64cd\u4f5c\u3002 angular \u63d0\u4f9b\u4e86\u51e0\u79cd\u7ec4\u4ef6\u901a\u4fe1\u7684\u65b9\u6cd5\uff1a<\/p>\n<h2> <strong>1. @\u8f93\u5165\u548c@\u8f93\u51fa<\/strong> <\/h2>\n<ul>\n<li> <strong>@input<\/strong>\uff1a\u5141\u8bb8\u7236\u7ec4\u4ef6\u5411\u5b50\u7ec4\u4ef6\u4f20\u9012\u6570\u636e\u3002<\/li>\n<li> <strong>@output<\/strong>\uff1a\u4f7f\u5b50\u7ec4\u4ef6\u80fd\u591f\u5411\u5176\u7236\u7ec4\u4ef6\u53d1\u9001\u4e8b\u4ef6\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b\uff1a<\/p>\n<pre>\/\/ child.component.ts\nimport { component, input, output, eventemitter } from '@angular\/core';\n\n@component({\n  selector: 'app-child',\n  template: `&lt;button (click)=\"sendmessage()\"&gt;send message&lt;\/button&gt;`,\n})\nexport class childcomponent {\n  @input() childmessage: string;\n  @output() messageevent = new eventemitter&lt;string&gt;();\n\n  sendmessage() {\n    this.messageevent.emit('message from child!');\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>&lt;!-- parent.component.html --&gt;\n&lt;app-child [childmessage]=\"parentmessage\" (messageevent)=\"receivemessage($event)\"&gt;&lt;\/app-child&gt;\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2> <strong>2.\u57fa\u4e8e\u670d\u52a1\u7684\u901a\u4fe1<\/strong> <\/h2>\n<p>\u5f53\u7ec4\u4ef6\u4e0d\u5b58\u5728\u7236\u5b50\u5173\u7cfb\u65f6\uff0cangular \u670d\u52a1\u63d0\u4f9b\u4e86\u4e00\u79cd\u5171\u4eab\u6570\u636e\u548c\u903b\u8f91\u7684\u7b80\u5355\u65b9\u6cd5\u3002\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u670d\u52a1\u662f\u5355\u4f8b\u7684\uff0c\u8fd9\u610f\u5473\u7740\u5e94\u7528\u7a0b\u5e8f\u4e2d\u4ec5\u5b58\u5728\u4e00\u4e2a\u5b9e\u4f8b\u3002<\/p>\n<pre>import { injectable } from '@angular\/core';\nimport { behaviorsubject } from 'rxjs';\n\n@injectable({\n  providedin: 'root'\n})\nexport class sharedservice {\n  private messagesource = new behaviorsubject&lt;string&gt;('default message');\n  currentmessage = this.messagesource.asobservable();\n\n  changemessage(message: string) {\n    this.messagesource.next(message);\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u4e0d\u540c\u7ec4\u4ef6\u4e2d\u4f7f\u7528\u670d\u52a1\uff1a<\/p>\n<pre>\/\/ component-one.ts\nimport { component } from '@angular\/core';\nimport { sharedservice } from '..\/shared.service';\n\n@component({\n  selector: 'app-component-one',\n  template: `&lt;button (click)=\"changemessage()\"&gt;change message&lt;\/button&gt;`,\n})\nexport class componentone {\n  constructor(private sharedservice: sharedservice) {}\n\n  changemessage() {\n    this.sharedservice.changemessage('hello from component one');\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<pre>\/\/ component-two.ts\nimport { Component, OnInit } from '@angular\/core';\nimport { SharedService } from '..\/shared.service';\n\n@Component({\n  selector: 'app-component-two',\n  template: `&lt;p&gt;{{ message }}&lt;\/p&gt;`,\n})\nexport class ComponentTwo implements OnInit {\n  message: string;\n\n  constructor(private sharedService: SharedService) {}\n\n  ngOnInit() {\n    this.sharedService.currentMessage.subscribe(message =&gt; this.message = message);\n  }\n}\n<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2> \u89d2\u5ea6\u7ec4\u4ef6\u7684\u6700\u4f73\u5b9e\u8df5 <\/h2>\n<ol>\n<li> <strong>\u5355\u4e00\u804c\u8d23<\/strong>\uff1a\u786e\u4fdd\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u6709\u4e00\u4e2a\u804c\u8d23\uff0c\u4ee5\u63d0\u9ad8\u53ef\u8bfb\u6027\u548c\u53ef\u7ef4\u62a4\u6027\u3002<\/li>\n<li> <strong>\u529f\u80fd\u6a21\u5757<\/strong>\uff1a\u5728\u529f\u80fd\u6a21\u5757\u4e2d\u7ec4\u7ec7\u76f8\u5173\u7ec4\u4ef6\uff0c\u8fd9\u6709\u52a9\u4e8e\u3002<\/li>\n<li> <strong>\u4f18\u5316\u53d8\u66f4\u68c0\u6d4b<\/strong>\uff1a\u5bf9\u4e0d\u7ecf\u5e38\u66f4\u65b0\u7684\u7ec4\u4ef6\u4f7f\u7528onpush\u53d8\u66f4\u68c0\u6d4b\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/li>\n<li> <strong>\u9650\u5236\u670d\u52a1\u7528\u4e8e\u901a\u4fe1<\/strong>\uff1a\u867d\u7136\u670d\u52a1\u5bf9\u4e8e\u5171\u4eab\u6570\u636e\u5f88\u6709\u4ef7\u503c\uff0c\u4f46\u8fc7\u5ea6\u4f9d\u8d56\u5b83\u4eec\u53ef\u80fd\u4f1a\u5bfc\u81f4\u7d27\u5bc6\u8026\u5408\u7684\u4ee3\u7801\u3002\u5c3d\u53ef\u80fd\u4f7f\u7528@input\u548c@output\u8fdb\u884c\u4eb2\u5b50\u6c9f\u901a\u3002<\/li>\n<li> <strong>\u7b80\u5316\u6a21\u677f<\/strong>\uff1a\u4f7f\u6a21\u677f\u5c3d\u53ef\u80fd\u7b80\u5355\uff0c\u5c06\u590d\u6742\u7684\u903b\u8f91\u79fb\u81f3\u7ec4\u4ef6\u7c7b\u4e2d\u3002<\/li>\n<\/ol>\n<h2> \u7ed3\u8bba <\/h2>\n<p>angular \u7ec4\u4ef6\u662f\u6784\u5efa\u53ef\u6269\u5c55\u548c\u6a21\u5757\u5316\u5e94\u7528\u7a0b\u5e8f\u7684\u6838\u5fc3\u3002\u901a\u8fc7\u4e86\u89e3\u5b83\u4eec\u7684\u7ed3\u6784\u3001\u751f\u547d\u5468\u671f\u548c\u901a\u4fe1\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u521b\u5efa\u9ad8\u6548\u3001\u53ef\u7ef4\u62a4\u4e14\u6613\u4e8e\u7406\u89e3\u548c\u6784\u5efa\u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/p>\n<p>\u5728\u4e0b\u4e00\u7bc7\u6587\u7ae0\u4e2d\uff0c\u6211\u4eec\u5c06\u66f4\u8be6\u7ec6\u5730\u63a2\u8ba8 angular \u7ec4\u4ef6\u751f\u547d\u5468\u671f\uff0c\u63a2\u7d22\u6bcf\u4e2a\u94a9\u5b50\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u6709\u6548\u7ba1\u7406\u7ec4\u4ef6\u3002\u8bf7\u7ee7\u7eed\u5173\u6ce8\uff0c\u6df1\u5165\u4e86\u89e3 angular \u5f3a\u5927\u7684\u751f\u547d\u5468\u671f\u529f\u80fd\uff01<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u4e86\u89e3 Angular \u7ec4\u4ef6\u7684\u57fa\u672c\u6307\u5357\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>angular \u7ec4\u4ef6\u662f angular \u5e94\u7528\u7a0b\u5e8f\u7684\u57fa\u7840\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u6784\u5efa\u7528\u6237\u754c\u9762\u7684\u6a21\u5757\u5316\u3001\u53ef\u91cd\u7528\u90e8\u5206\u7684\u65b9\u6cd5\u3002\u5728\u672c\u6307\u5357\u4e2d\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd angular \u7ec4\u4ef6\u7684\u57fa\u7840\u77e5\u8bc6\uff0c\u4ece\u7ed3\u6784\u5230\u6700\u4f73\u5b9e\u8df5\u3002\u65e0\u8bba\u60a8\u662f angular \u65b0\u624b\u8fd8\u662f\u60f3\u590d\u4e60\u4e00\u4e0b\uff0c\u672c\u6587\u90fd\u5c06\u4f7f\u60a8\u5bf9 angular \u4e2d\u7684\u7ec4\u4ef6\u6709\u4e00\u4e2a\u57fa\u672c\u7684\u4e86\u89e3\u3002 \u4ec0\u4e48\u662f\u89d2\u5ea6\u5206\u91cf\uff1f \u5728 angular \u4e2d\uff0c\u7ec4\u4ef6\u662f\u63a7\u5236\u7528\u6237\u754c\u9762 (ui) \u90e8\u5206\u7684\u7c7b\u3002\u60f3\u60f3\u6309\u94ae\u3001\u9009\u9879\u5361\u3001\u8f93\u5165\u3001\u8868\u5355\u548c\u62bd\u5c49\uff08\u5b9e\u9645\u4e0a\u662f ui \u7684\u4efb\u4f55\u90e8\u5206\uff09\u3002\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u662f\u72ec\u7acb\u7684\uff0c\u5305\u62ec\uff1a html \u6a21\u677f\uff1a\u5b9a\u4e49 ui \u7684\u5e03\u5c40\u548c\u7ed3\u6784\u3002 \u6837\u5f0f\uff1a\u8bbe\u7f6e\u7ec4\u4ef6\u7684\u5916\u89c2\u548c\u6837\u5f0f\u3002 \u7c7b\uff1a\u5305\u542b\u7ec4\u4ef6\u7684\u903b\u8f91\u548c\u6570\u636e\u3002 \u5143\u6570\u636e\uff1a\u63d0\u4f9b angular \u8bc6\u522b\u548c\u4f7f\u7528\u7ec4\u4ef6\u7684\u914d\u7f6e\u8be6\u7ec6\u4fe1\u606f\u3002 \u7ec4\u4ef6\u5bf9\u4e8e\u521b\u5efa\u6a21\u5757\u5316\u5e94\u7528\u7a0b\u5e8f\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u6bcf\u4e2a\u7ec4\u4ef6\u90fd\u53ef\u4ee5\u4ee3\u8868\u9875\u9762\u7684\u7279\u5b9a\u90e8\u5206\uff0c\u4f8b\u5982\u6807\u9898\u3001\u4fa7\u8fb9\u680f\u6216\u5361\u7247\u3002 \u89d2\u5ea6\u7ec4\u4ef6\u7684\u57fa\u672c\u7ed3\u6784 angular \u7ec4\u4ef6\u662f\u4f7f\u7528 @component \u88c5\u9970\u5668\u5b9a\u4e49\u7684\uff0c\u5b83\u4f7f\u7528\u5fc5\u8981\u7684\u6a21\u677f\u3001\u6837\u5f0f\u548c\u9009\u62e9\u5668\u5bf9\u5176\u8fdb\u884c\u914d\u7f6e\u3002\u8fd9\u662f\u4e00\u4e2a\u57fa\u672c\u793a\u4f8b\uff1a import { component } from &#8216;@angular\/core&#8217;; @component({ selector: &#8216;app-example&#8217;, templateurl: &#8216;.\/example.component.html&#8217;, styleurls: [&#8216;.\/example.component.css&#8217;] }) export class examplecomponent { title: string = &#8216;hello, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-3550","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/3550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=3550"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/3550\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=3550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=3550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=3550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}