vue create supermall
创建项目
项目GitHub: supermall 点课小星星啦~
文件目录创建:
- public
- src
- assets
- css
- img
- common
- components
- network
- router
- store
- views
- assets
引入normalize.css(重置浏览器样式与reset.css作用差不多)
引入base.css (全局基础样式)
创建 .editorconfig 文件 (编码风格)
root = true
[*]
chaset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insret_final_newline = true
trim_trailing_whitespace = true
配置别名
项目目录下新建vue.config.js文件
module.exports = {
configureWebpack