在本文中,我们将使用Angular 6和Google的Material Design构建一个新闻应用程序,这将帮助您在Web浏览器和移动设备中使用Angular达到很赞的效果。
more >>ECNU CS研究僧,前端一枚,产品经理半枚,运维工程师半枚
在本文中,我们将使用Angular 6和Google的Material Design构建一个新闻应用程序,这将帮助您在Web浏览器和移动设备中使用Angular达到很赞的效果。
more >>一种新的Web开发形式开始出现,它有望提供JavaScript的替代方案:这就是WebAssembly。
more >>Create React App 2.0已于2018.10.01发布,在本次版本升级中极大地更新完善了产品功能和体验。
Create React App 2.0 has been released today, and it brings a year’s worth of improvements in a single dependency update.
虽然使用React本身不需要任何构建相关的依赖性,但编写一个含有快速测试模块,生产用压缩工具和模块化代码库的复杂应用程序仍然具有挑战性。从第一个版本开始,Create React App的目标就是帮助您专注于最重要的事项 - 您的应用程序代码 - 并为您处理构建和测试的相关设置。
While React itself doesn’t require any build dependencies, it can be challenging to write a complex app without a fast test runner, a production minifier, and a modular codebase. Since the very first release, the goal of Create React App has been to help you focus on what matters the most — your application code — and to handle build and testing setup for you.
它依赖的许多工具到现在为止已经发布了包含新功能和性能改进的新版本:Babel 7),webpack 4和Jest 23。但是,手动更新它们并使它们一起协同工作需要花费很多精力。这正是Create React App 2.0贡献者在过去几个月一直忙于的事情:迁移配置和依赖项,这样您就不需要自己动手了。
Many of the tools it relies on have since released new versions containing new features and performance improvements: Babel 7, webpack 4, and Jest 23. However, updating them manually and making them work well together takes a lot of effort. And this is exactly what Create React App 2.0 contributors have been busy with for the past few months: migrating the configuration and dependencies so that you don’t need to do it yourself.
现在Create React App 2.0已经脱离了测试版,让我们看看有什么新东西以及如何尝试它!
Now that Create React App 2.0 is out of beta, let’s see what’s new and how you can try it!
more >>注意
不要为升级感到有压力。如果您对当前在用的版本的性能和可靠性感到满意,则可以继续使用当前版本!在生产中切换到2.0之前,让2.0版本稳定一点可能也是一个好主意。
Don’t feel pressured to upgrade anything. If you’re satisfied with the current feature set, its performance, and reliability, you can keep using the version you’re currently at! It might also be a good idea to let the 2.0 release stabilize a little bit before switching to it in production.
如果不能很好的处理对象,你将无法在JavaScript中获得很大的成就。它们几乎是JavaScript编程语言各个方面的基础。在这篇文章中,您将了解用于实例化新对象的各种模式,在学习中,您将逐渐深入了解JavaScript的原型。
more >>tag:
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true