We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
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
[vue] 你知道什么是脚手架吗?
The text was updated successfully, but these errors were encountered:
脚手架以前我在的认知中, 一直是那种建筑用的那种脚手架 顾名思义: 就是帮助我们更好的去做一件事的工具! 还有其它含义就是, 保护安全, 不但是自己还有别人,
在前端中, 就是帮助我们更好的管理代码, 打包代码和其它资源, 保证项目规范和一些规则的工具
Sorry, something went wrong.
vue项目一般是使用webpack进行打包构建的,然而如果每一个项目都需要我们去配置loader和plugin的话,是很重复的劳动,并且vue项目需要使用到的最基本的webpack loader和webpack plugin是相同的。因此官方推出了vue-cli这个脚手架,使用它就可以快速的生成一份通用的webpack配置,并且帮我们安装好很多必定会用到的npm包。
一般vue的脚手架是基于webpack 构建,配好默认的配置给你,而且是优化过的。 你可以通过配置文件进行自定义配置,其实是修改webpack的配置 让你专注在写项目代码上,不用费心配置的事
No branches or pull requests
[vue] 你知道什么是脚手架吗?
The text was updated successfully, but these errors were encountered: