真空的HTML模板

<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <title>Title</titl ... ...

用npm安装和设置webpack

安装Webpack npm i webpack webpack-cli -D   设置Webpack 在该文件夹创建文件package.json, 粘贴以下的内容: { "name": "xxxxxx", "version": "1.0.0", "description": "blah b ... ...