Skip to content
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

[vue] 你知道什么是脚手架吗? #485

Open
haizhilin2013 opened this issue Jun 22, 2019 · 3 comments
Open

[vue] 你知道什么是脚手架吗? #485

haizhilin2013 opened this issue Jun 22, 2019 · 3 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] 你知道什么是脚手架吗?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 22, 2019
@wenyejie
Copy link

脚手架以前我在的认知中, 一直是那种建筑用的那种脚手架
顾名思义: 就是帮助我们更好的去做一件事的工具!
还有其它含义就是, 保护安全, 不但是自己还有别人,

在前端中, 就是帮助我们更好的管理代码, 打包代码和其它资源, 保证项目规范和一些规则的工具

@ajh999900
Copy link

vue项目一般是使用webpack进行打包构建的,然而如果每一个项目都需要我们去配置loader和plugin的话,是很重复的劳动,并且vue项目需要使用到的最基本的webpack loader和webpack plugin是相同的。因此官方推出了vue-cli这个脚手架,使用它就可以快速的生成一份通用的webpack配置,并且帮我们安装好很多必定会用到的npm包。

@hyj443
Copy link

hyj443 commented Oct 19, 2021

一般vue的脚手架是基于webpack 构建,配好默认的配置给你,而且是优化过的。
你可以通过配置文件进行自定义配置,其实是修改webpack的配置
让你专注在写项目代码上,不用费心配置的事

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

4 participants