mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-04 13:34:45 +00:00
fix version selector #240
This commit is contained in:
parent
40cafc1073
commit
c9d247fd66
10 changed files with 18 additions and 82 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import path from 'path';
|
||||
import webpack from 'webpack';
|
||||
import autoprefixer from 'autoprefixer';
|
||||
import eslintFormatter from 'eslint-friendly-formatter';
|
||||
import config from '../config';
|
||||
|
||||
|
|
@ -87,12 +86,7 @@ export default {
|
|||
loaders: {
|
||||
css: 'vue-style-loader!css-loader',
|
||||
scss: 'vue-style-loader!css-loader!sass-loader'
|
||||
},
|
||||
postcss: [
|
||||
autoprefixer({
|
||||
browsers: ['last 2 versions']
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import webpack from 'webpack';
|
||||
import path from 'path';
|
||||
import merge from 'webpack-merge';
|
||||
import autoprefixer from 'autoprefixer';
|
||||
import ExtractTextPlugin from 'extract-text-webpack-plugin';
|
||||
import CopyWebpackPlugin from 'copy-webpack-plugin';
|
||||
import HtmlWebpackPlugin from 'html-webpack-plugin';
|
||||
|
|
@ -19,7 +20,12 @@ export default merge(baseConfig, {
|
|||
loaders: {
|
||||
css: ExtractTextPlugin.extract('css'),
|
||||
scss: ExtractTextPlugin.extract(['css', 'sass'])
|
||||
}
|
||||
},
|
||||
postcss: [
|
||||
autoprefixer({
|
||||
browsers: ['last 3 versions']
|
||||
})
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import fs from 'fs';
|
|||
import path from 'path';
|
||||
import webpack from 'webpack';
|
||||
import merge from 'webpack-merge';
|
||||
import autoprefixer from 'autoprefixer';
|
||||
import ExtractTextPlugin from 'extract-text-webpack-plugin';
|
||||
import config from '../config';
|
||||
import baseConfig from './base';
|
||||
|
|
@ -35,7 +36,12 @@ export default merge(baseConfig, {
|
|||
loaders: {
|
||||
css: ExtractTextPlugin.extract('css'),
|
||||
scss: ExtractTextPlugin.extract(['css', 'sass'])
|
||||
}
|
||||
},
|
||||
postcss: [
|
||||
autoprefixer({
|
||||
browsers: ['last 2 versions']
|
||||
})
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.UglifyJsPlugin({
|
||||
|
|
|
|||
34
dist/docs/docs.10916f44.js
vendored
34
dist/docs/docs.10916f44.js
vendored
File diff suppressed because one or more lines are too long
1
dist/docs/docs.1500a5cc.css
vendored
1
dist/docs/docs.1500a5cc.css
vendored
File diff suppressed because one or more lines are too long
34
dist/docs/docs.6e3a4139.js
vendored
34
dist/docs/docs.6e3a4139.js
vendored
File diff suppressed because one or more lines are too long
1
dist/docs/manifest.02098a2a.js
vendored
1
dist/docs/manifest.02098a2a.js
vendored
|
|
@ -1 +0,0 @@
|
|||
!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,p){for(var l,c,s=0,i=[];s<o.length;s++)c=o[s],a[c]&&i.push.apply(i,a[c]),a[c]=0;for(l in p)e[l]=p[l];for(n&&n(o,p);i.length;)i.shift().call(null,t);if(p[0])return r[0]=0,t(0)};var r={},a={0:0,2:0};t.e=function(e,n){if(0===a[e])return n.call(null,t);if(void 0!==a[e])a[e].push(n);else{a[e]=[n];var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=t.p+""+e+"."+{1:"10916f44",2:"2044b105"}[e]+".js",r.appendChild(o)}},t.m=e,t.c=r,t.p=""}([]);
|
||||
1
dist/docs/manifest.e6d9ceed.js
vendored
1
dist/docs/manifest.e6d9ceed.js
vendored
|
|
@ -1 +0,0 @@
|
|||
!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var n=window.webpackJsonp;window.webpackJsonp=function(o,p){for(var l,c,s=0,i=[];s<o.length;s++)c=o[s],a[c]&&i.push.apply(i,a[c]),a[c]=0;for(l in p)e[l]=p[l];for(n&&n(o,p);i.length;)i.shift().call(null,t);if(p[0])return r[0]=0,t(0)};var r={},a={0:0,2:0};t.e=function(e,n){if(0===a[e])return n.call(null,t);if(void 0!==a[e])a[e].push(n);else{a[e]=[n];var r=document.getElementsByTagName("head")[0],o=document.createElement("script");o.type="text/javascript",o.charset="utf-8",o.async=!0,o.src=t.p+""+e+"."+{1:"6e3a4139",2:"2044b105"}[e]+".js",r.appendChild(o)}},t.m=e,t.c=r,t.p=""}([]);
|
||||
4
dist/docs/releases/v0.5.0/docs.0c76b7b3.js
vendored
4
dist/docs/releases/v0.5.0/docs.0c76b7b3.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -22,6 +22,7 @@ Vue.component('code-block', CodeBlock);
|
|||
Vue.use(VueRouter);
|
||||
|
||||
let router = new VueRouter({
|
||||
mode: 'hash',
|
||||
base: window.location.pathname,
|
||||
routes
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue