yshop3.0正式发布
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
@ -2,7 +2,7 @@ ENV = 'development'
|
|||||||
|
|
||||||
# 接口地址
|
# 接口地址
|
||||||
VUE_APP_BASE_API = 'http://localhost:8001'
|
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插件
|
# 是否启用 babel-plugin-dynamic-import-node插件
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|
||||||
|
|
||||||
# 接口地址
|
# 接口地址
|
||||||
VUE_APP_BASE_API = 'https://app2.yixiang.co'
|
VUE_APP_BASE_API = 'https://app2.yixiang.co'
|
||||||
VUE_APP_WS_API = 'ws://app2.yixiang.co'
|
VUE_APP_WS_API = 'ws://app2.yixiang.co'
|
||||||
|
@ -5,3 +5,4 @@ dist
|
|||||||
src/views
|
src/views
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
extends: ['plugin:vue/recommended', 'eslint:recommended'],
|
extends: ['plugin:vue/recommended', 'eslint:recommended'],
|
||||||
|
|
||||||
//it is base on https://github.com/vuejs/eslint-config-vue
|
|
||||||
rules: {
|
rules: {
|
||||||
"vue/max-attributes-per-line": [2, {
|
"vue/max-attributes-per-line": [2, {
|
||||||
"singleline": 10,
|
"singleline": 10,
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,5 +19,6 @@ selenium-debug.log
|
|||||||
*.sln
|
*.sln
|
||||||
*.local
|
*.local
|
||||||
|
|
||||||
|
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
@ -4,3 +4,4 @@ script: npm run test
|
|||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ yshop基于当前流行技术组合的前后端分离商城系统: SpringBoot2
|
|||||||
- 可以具体查看演示地址查看当前版本已经完成的功能,不再絮叨啦
|
- 可以具体查看演示地址查看当前版本已经完成的功能,不再絮叨啦
|
||||||
|
|
||||||
#### 项目结构
|
#### 项目结构
|
||||||
项目采用分模块开发方式
|
yshop3.0项目采用分模块开发方式
|
||||||
- yshop-app 移动端API模块(H5+uniapp端的API)
|
- yshop-app 移动端API模块(H5+uniapp端的API)
|
||||||
- yshop-admin 管理后台模块
|
- yshop-admin 管理后台模块
|
||||||
- yshop-weixin 微信相关模块
|
- yshop-weixin 微信相关模块
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
const plugins = ['@vue/babel-plugin-transform-vue-jsx']
|
const plugins = ['@vue/babel-plugin-transform-vue-jsx']
|
||||||
// 生产环境移除 console
|
// 生产环境移除
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'production') {
|
||||||
plugins.push('transform-remove-console')
|
plugins.push('transform-remove-console')
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,6 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'],
|
collectCoverageFrom: ['src/utils/**/*.{js,vue}', '!src/utils/auth.js', '!src/utils/request.js', 'src/components/**/*.{js,vue}'],
|
||||||
coverageDirectory: '<rootDir>/tests/unit/coverage',
|
coverageDirectory: '<rootDir>/tests/unit/coverage',
|
||||||
// 'collectCoverage': true,
|
|
||||||
'coverageReporters': [
|
'coverageReporters': [
|
||||||
'lcov',
|
'lcov',
|
||||||
'text-summary'
|
'text-summary'
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "yshop-web",
|
"name": "yshop-web",
|
||||||
"version": "2.4.0",
|
"version": "2.4.0",
|
||||||
"description": "yshop2.0 前端源码",
|
"description": "yshop3.0 前端源码",
|
||||||
"author": "Zheng Jie",
|
"author": "Zheng Jie",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -2,7 +2,7 @@ module.exports = {
|
|||||||
/**
|
/**
|
||||||
* @description 网站标题
|
* @description 网站标题
|
||||||
*/
|
*/
|
||||||
title: 'YSHOP-3.0-RC2',
|
title: 'YSHOP-3.0',
|
||||||
/**
|
/**
|
||||||
* @description 是否显示 tagsView
|
* @description 是否显示 tagsView
|
||||||
*/
|
*/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<div class="login">
|
<div class="login">
|
||||||
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
|
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" label-position="left" label-width="0px" class="login-form">
|
||||||
<h3 class="title">
|
<h3 class="title">
|
||||||
YSHOP后台管理系统-RC2
|
YSHOP后台管理系统-3.0
|
||||||
</h3>
|
</h3>
|
||||||
<el-form-item prop="username">
|
<el-form-item prop="username">
|
||||||
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
<el-input v-model="loginForm.username" type="text" auto-complete="off" placeholder="账号">
|
||||||
|
@ -9,7 +9,6 @@ function resolve(dir) {
|
|||||||
const name = defaultSettings.title // 网址标题
|
const name = defaultSettings.title // 网址标题
|
||||||
const port = 8013 // 端口配置
|
const port = 8013 // 端口配置
|
||||||
|
|
||||||
// All configuration item explanations can be find in https://cli.vuejs.org/config/
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: '/',
|
publicPath: '/',
|
||||||
outputDir: 'dist',
|
outputDir: 'dist',
|
||||||
|
Reference in New Issue
Block a user