icons locales

This commit is contained in:
Vicente Falco 2017-02-21 12:49:41 +01:00
parent 139cc770a5
commit 33bc79cb70
5 changed files with 21 additions and 10 deletions

View File

@ -1,4 +1,5 @@
import './mdl-override.css'; import './mdl-override.css';
import './styles/fonts/mdi-override.css';
import './watcher/index'; import './watcher/index';
import './paging/index'; import './paging/index';

View File

@ -0,0 +1,6 @@
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url('./Material-Design-Icons.woff2') format('woff2');
}

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Salix</title> <title>Salix</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
</head> </head>
<body> <body>
<vn-app id="app"></vn-app> <vn-app id="app"></vn-app>

View File

@ -25,17 +25,21 @@ var config = {
query: { query: {
presets: ['es2015'] presets: ['es2015']
} }
},{ },
{
test: /\.html$/, test: /\.html$/,
loader: 'html-loader' loader: 'html-loader'
},{ },
{
test: /\.css$/, test: /\.css$/,
loader: 'style-loader!css-loader' loader: 'style-loader!css-loader'
},{ },
{
test: /\.scss$/, test: /\.scss$/,
loader: 'style-loader!css-loader!sass-loader' loader: 'style-loader!css-loader!sass-loader'
},{ },
test: /\.(svg|png|ttf)$/, {
test: /\.(svg|png|ttf|woff|woff2)$/,
loader: 'file-loader' loader: 'file-loader'
} }
] ]
@ -56,11 +60,11 @@ var config = {
devtool: 'source-map' devtool: 'source-map'
}; };
if(!devMode) { if (!devMode) {
config.plugins.push ( config.plugins.push (
new webpack.optimize.UglifyJsPlugin({ new webpack.optimize.UglifyJsPlugin({
minimize: true, minimize: true,
compress: { warnings: false } compress: { warnings: false }
}) })
); );
} }