Skip to content

Latest commit

 

History

History
135 lines (99 loc) · 4.92 KB

README.zh-CN.md

File metadata and controls

135 lines (99 loc) · 4.92 KB

node compatility vite vue vue-router vuex author LICENSE

Vite3 + Vue2 + JavaScript + Vue Router + Vuex + Less + Axios + ESLint + Stylelint + Prettier

在线 Demo

English | 简体中文

特性

编码风格

开发工具

现在可以试试!

Smartisan Mall 需要 Node 版本 >= 14.18

GitHub 模板

使用这个模板创建仓库.

克隆到本地

如果您更喜欢使用更干净的 git 历史记录手动执行此操作

# [可选] 如果您使用的是 windows 系统,需要关闭换行符自动转换
git config --global core.autocrlf input

# 克隆
git clone https://github.com/ali-pay/smartisan

# 打开文件夹
cd smartisan

# 安装依赖
npm i

清单

使用此模板时,请尝试按照清单正确更新您自己的信息

  • LICENSE 中改变作者名
  • App.vue 中改变标题
  • vite.config.js 更改主机名
  • public 目录下改变favicon
  • 移除 .github 文件夹中包含资助的信息
  • 整理 README 并删除路由

使用

开发

只需要执行以下命令就可以在 http://localhost:3000 中看到

## 安装依赖
npm install

## 运行
npm run dev

构建

## 构建
npm run build

成就

🎉 被 Awesome Vite.Js 社区收录啦~

开源协议

MIT

Copyright (c) 2023 ali-pay