Skip to content

skymrwt/VUE-SPA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

搭建步骤
  1. npm init 创建 package.json文件
  2. npm install webpack webpack-dev-server vue-loader vue-html-loader css-loader vue-style-loader --安装解析模块,告诉webpack要使用这些模块解析对应文件
  3. npm install html-webpack-plugin --save-d --本地安装生成html文件插件
  4. 创建app文件夹

热加载

  1. npm install webpack-dev-middleware webpack-hot-middleware --save-dev --本地服务所需中间件
  2. npm install webpack-dev-middleware --save-dev -- 模块热替换插件

项目运行环境

  1. npm i

About

vue单页应用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published