Skip to content

synced updates in cookbook #715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 2, 2018
Merged

synced updates in cookbook #715

merged 3 commits into from
May 2, 2018

Conversation

Jinjiang
Copy link
Member

@Jinjiang Jinjiang commented Apr 18, 2018

Ref: vuejs/v2.vuejs.org@c3c5949...c3d2cdf
这批 diff 的最后一部分
之前另外两部分分别是 #698 #699 再加上新版 components 的部分
谢谢

@Jinjiang Jinjiang requested a review from Justineo April 18, 2018 17:21

你必须安装好 Chrome 和 VS Code。同时请确保自己在 VS Code 中安装了 [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome) 扩展的最新版本。

请通过 [Vue CLI](https://github.com/vuejs/vue-cli),遵循它的 README 中的安装文档安装和创建一个项目。然后进入这个新创建的应用的目录,打开 VS Code。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

安装创建


### 在 Chrome Devtools 中展示源代码

在你可以从 VS Code 调试你的 Vue 组件之前,你需要更新 webpack 配置以构建 source map。我们做了这件事之后,我们的调试器就有机会将一个被压缩的文件中的代码对应回其源文件相应的位置。这会确保你可以在一个应用中调试,即便你的资源已经被 webpack 优化过了也没关系。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

删掉一些你、你的、我们?


```
npm start
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个 code block 应该有缩进

* 订阅你的应用的某个具体部分的状态,以便快速调试
* 组件依赖可视化,且允许你收起/展开某个具体的依赖树视图

![Vuetron Heirarchy](/images/vuetron-heirarchy.gif)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vuetron 层级结构?

@Jinjiang Jinjiang merged commit 5977798 into master May 2, 2018
@Jinjiang Jinjiang deleted the cookbook branch May 2, 2018 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants