webpack learn

使用Visual  Studio Code软件使用准备,先安装一些插件,加快开发效率(还有Language Packs 选择简体中文安装后重启软件,可切换为中文):

下面是步骤:

1 软件打开终端:在指定目录输入

npm init

2 再输入 

npm i webpack vue vue-loader

3 然后根据提醒warn安装需要的依赖(比如css-loader和vue-complate-compiler)

npm i css-loader vue-complate-compiler

猜你喜欢

转载自www.cnblogs.com/init-007/p/10890167.html