Browse Source

yshop3.0正式发布

master
hupeng 4 years ago
parent
commit
d908ab8237
  1. 1
      .editorconfig
  2. 2
      .env.development
  3. 1
      .env.production
  4. 1
      .eslintignore
  5. 2
      .eslintrc.js
  6. 1
      .gitignore
  7. 1
      .travis.yml
  8. 2
      README.md
  9. 2
      babel.config.js
  10. 1
      jest.config.js
  11. 2
      package.json
  12. 2
      src/settings.js
  13. 2
      src/views/login.vue
  14. 1
      vue.config.js

1
.editorconfig

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

2
.env.development

@ -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插件

1
.env.production

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

1
.eslintignore

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

2
.eslintrc.js

@ -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

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

1
.travis.yml

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

2
README.md

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

2
babel.config.js

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

1
jest.config.js

@ -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'

2
package.json

@ -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": {

2
src/settings.js

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

2
src/views/login.vue

@ -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="账号">

1
vue.config.js

@ -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',

Loading…
Cancel
Save