Commit 3c664be74e1a8794224ede1d05253195cec3cff7

Authored by liuqimichale
1 parent 4d234fc3

postcss

index.html
... ... @@ -5,7 +5,7 @@
5 5 <meta name="viewport" content="width=device-width,initial-scale=1.0">
6 6 <title>兰州沙盘</title>
7 7 <link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico">
8   - <link rel="stylesheet" href="src/style/reset.css" type="text/css">
  8 + <link rel="stylesheet" href="src/style/reset.css" >
9 9 </head>
10 10 <body>
11 11 <div id="app"></div>
... ...
postcss.config.js 0 → 100644
  1 +module.exports = {
  2 + plugins: {
  3 + 'autoprefixer': {browsers: 'last 5 version'}
  4 + }
  5 +}
... ...
src/main.js
... ... @@ -2,7 +2,7 @@
2 2 // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3 3 import Vue from 'vue'
4 4 import App from './App'
5   -
  5 +import './style/reset.css'
6 6 Vue.config.productionTip = false
7 7  
8 8 /* eslint-disable no-new */
... ...
src/view/VHome.vue
1 1 <template>
2   - <div>shouye</div>
  2 + <div>shou1ye</div>
3 3 </template>
4 4  
5 5 <script>
... ...