yshop3.0正式发布

This commit is contained in:
hupeng
2020-07-14 16:07:02 +08:00
parent 0cfa30264e
commit d908ab8237
14 changed files with 10 additions and 11 deletions

View File

@ -1,4 +1,3 @@
root = true
[*]

View File

@ -2,7 +2,7 @@ ENV = 'development'
# 接口地址
VUE_APP_BASE_API = 'http://localhost:8001'
VUE_APP_WS_API = 'ws://localhost:8000'
VUE_APP_WS_API = 'ws://localhost:8001'
# 是否启用 babel-plugin-dynamic-import-node插件

View File

@ -1,6 +1,5 @@
ENV = 'production'
# 接口地址
VUE_APP_BASE_API = 'https://app2.yixiang.co'
VUE_APP_WS_API = 'ws://app2.yixiang.co'

View File

@ -5,3 +5,4 @@ dist
src/views

View File

@ -11,7 +11,7 @@ module.exports = {
},
extends: ['plugin:vue/recommended', 'eslint:recommended'],
//it is base on https://github.com/vuejs/eslint-config-vue
rules: {
"vue/max-attributes-per-line": [2, {
"singleline": 10,

1
.gitignore vendored
View File

@ -19,5 +19,6 @@ selenium-debug.log
*.sln
*.local
package-lock.json
yarn.lock

View File

@ -4,3 +4,4 @@ script: npm run test
notifications:
email: false

View File

@ -24,7 +24,7 @@ yshop基于当前流行技术组合的前后端分离商城系统 SpringBoot2
- 可以具体查看演示地址查看当前版本已经完成的功能,不再絮叨啦
#### 项目结构
项目采用分模块开发方式
yshop3.0项目采用分模块开发方式
- yshop-app 移动端API模块H5+uniapp端的API
- yshop-admin 管理后台模块
- yshop-weixin 微信相关模块

View File

@ -1,5 +1,5 @@
const plugins = ['@vue/babel-plugin-transform-vue-jsx']
// 生产环境移除 console
// 生产环境移除
if (process.env.NODE_ENV === 'production') {
plugins.push('transform-remove-console')
}

View File

@ -15,7 +15,6 @@ module.exports = {
],
collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'],
coverageDirectory: '<rootDir>/tests/unit/coverage',
// 'collectCoverage': true,
'coverageReporters': [
'lcov',
'text-summary'

View File

@ -1,7 +1,7 @@
{
"name": "yshop-web",
"version": "2.4.0",
"description": "yshop2.0 前端源码",
"description": "yshop3.0 前端源码",
"author": "Zheng Jie",
"license": "Apache-2.0",
"scripts": {

View File

@ -2,7 +2,7 @@ module.exports = {
/**
* @description 网站标题
*/
title: 'YSHOP-3.0-RC2',
title: 'YSHOP-3.0',
/**
* @description 是否显示 tagsView
*/

View File

@ -2,7 +2,7 @@
<div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
<h3 class="title">
YSHOP后台管理系统-RC2
YSHOP后台管理系统-3.0
</h3>
<el-form-item prop="username">
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">

View File

@ -9,7 +9,6 @@ function resolve(dir) {
const name = defaultSettings.title // 网址标题
const port = 8013 // 端口配置
// All configuration item explanations can be find in https://cli.vuejs.org/config/
module.exports = {
publicPath: '/',
outputDir: 'dist',