From 3c664be74e1a8794224ede1d05253195cec3cff7 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Thu, 7 Mar 2019 12:24:05 +0800 Subject: [PATCH] postcss --- index.html | 2 +- postcss.config.js | 5 +++++ src/main.js | 2 +- src/view/VHome.vue | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 postcss.config.js diff --git a/index.html b/index.html index 9c49002..9d33c85 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ 兰州沙盘 - +
diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..334ef16 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,5 @@ +module.exports = { + plugins: { + 'autoprefixer': {browsers: 'last 5 version'} + } +} diff --git a/src/main.js b/src/main.js index 684ffac..edf2c04 100644 --- a/src/main.js +++ b/src/main.js @@ -2,7 +2,7 @@ // (runtime-only or standalone) has been set in webpack.base.conf with an alias. import Vue from 'vue' import App from './App' - +import './style/reset.css' Vue.config.productionTip = false /* eslint-disable no-new */ diff --git a/src/view/VHome.vue b/src/view/VHome.vue index 9b9642c..4bce981 100644 --- a/src/view/VHome.vue +++ b/src/view/VHome.vue @@ -1,5 +1,5 @@