Skip to content

Commit

Permalink
更新截图
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongzhenlong committed Oct 26, 2017
1 parent 08a1aab commit f716a1e
Show file tree
Hide file tree
Showing 79 changed files with 9 additions and 55,639 deletions.
11 changes: 1 addition & 10 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,7 @@
],
"plugins": [
"transform-runtime",
"transform-vue-jsx",
[
"component",
[
{
"libraryName": "element-ui",
"styleLibraryName": "~src/css/theme"
}
]
]
"transform-vue-jsx"
],
"comments": false,
"env": {
Expand Down
2 changes: 1 addition & 1 deletion build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module.exports = {
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
options: {
limit: 10240,
limit: 1024,
name: utils.assetsPath('fonts/[name].[ext]')
}
}
Expand Down
4 changes: 2 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ module.exports = {
index: path.resolve(__dirname, '../dist/index.html'),
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/',
// assetsPublicPath: '/Vue-Admin/',
// assetsPublicPath: '/',
assetsPublicPath: '/Vue-Admin/',
productionSourceMap: true,
// Gzip off by default as many popular static hosts such as
// Surge or Netlify already gzip all static assets for you.
Expand Down
16 changes: 2 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"dev": "node build/dev-server.js",
"build": "node build/build.js",
"lint": "eslint --ext .js,.vue src",
"mock": "babel-node build/mock-server.js --presets es2015,stage-2",
"mock": "babel-node build/mock-server.js --presets es2015,stage-0",
"mockdev": "npm run dev & npm run mock"
},
"dependencies": {
Expand Down Expand Up @@ -48,8 +48,6 @@
"connect-history-api-fallback": "^1.3.0",
"copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.7",
"element-theme": "^0.7.2",
"element-theme-default": "^1.4.3",
"errorhandler": "^1.5.0",
"eslint": "^4.6.1",
"eslint-config-standard": "^10.2.1",
Expand Down Expand Up @@ -94,15 +92,5 @@
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"element-theme": {
"browsers": [
"ie > 9",
"last 2 versions"
],
"out": "./src/css/theme",
"config": "./src/css/element-variables.css",
"theme": "element-theme-default",
"minimize": false
}
]
}
1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</template>

<script>
import 'babel-polyfill'
import Vue from 'vue'
import sideMenu from './components/sideMenu.vue'
import impHeader from "./pages/layout/header.vue"
Expand Down
4 changes: 2 additions & 2 deletions src/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const CONTEXT = './api';
// export const CONTEXT = './Vue-Admin';
// export const CONTEXT = './api';
export const CONTEXT = './Vue-Admin';

export const LOGIN = CONTEXT + '/login';
export const LOGOUT = CONTEXT + '/logout';
Expand Down
Loading

0 comments on commit f716a1e

Please sign in to comment.