Doplneni css pro fullcalendar
This commit is contained in:
@@ -17,6 +17,3 @@ requireAll (require.context ('./src/assets/js', true, /\.js$/));
|
|||||||
|
|
||||||
// SASS
|
// SASS
|
||||||
import './src/assets/scss/app.scss';
|
import './src/assets/scss/app.scss';
|
||||||
|
|
||||||
// nefunguje kalendar z nejakeho duvodu - mam blbe cestu
|
|
||||||
// import '~fullcalendar/dist/fullcalendar.css';
|
|
||||||
@@ -15,6 +15,8 @@
|
|||||||
@import "~bootstrap/scss/grid";
|
@import "~bootstrap/scss/grid";
|
||||||
|
|
||||||
|
|
||||||
|
@import " ~fullcalendar/dist/fullcalendar.min.css";
|
||||||
|
|
||||||
$fa-font-path: "~font-awesome/fonts";
|
$fa-font-path: "~font-awesome/fonts";
|
||||||
@import '~font-awesome/scss/font-awesome.scss';
|
@import '~font-awesome/scss/font-awesome.scss';
|
||||||
|
|
||||||
|
|||||||
+46
-49
@@ -1,52 +1,49 @@
|
|||||||
const path = require('path');
|
const path = require ('path');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: './index.js',
|
entry: './index.js',
|
||||||
output: {
|
output: {
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
||||||
path: path.resolve(__dirname, 'dist')
|
path: path.resolve (__dirname, 'dist')
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
||||||
use: [{
|
use: [{
|
||||||
loader: 'file-loader',
|
loader: 'file-loader',
|
||||||
options: {
|
options: {
|
||||||
name: '[name].[ext]',
|
name: '[name].[ext]',
|
||||||
outputPath: 'fonts/', // where the fonts will go
|
outputPath: 'fonts/', // where the fonts will go
|
||||||
publicPath: '/dist/fonts' // override the default path
|
publicPath: '/dist/fonts' // override the default path
|
||||||
}
|
}
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(scss)$/,
|
test: /\.(scss)$/,
|
||||||
use: [
|
use: [
|
||||||
{
|
{
|
||||||
// Adds CSS to the DOM by injecting a `<style>` tag
|
loader: 'style-loader'
|
||||||
loader: 'style-loader'
|
},
|
||||||
},
|
{
|
||||||
{
|
loader: 'css-loader'
|
||||||
// Interprets `@import` and `url()` like `import/require()` and will resolve them
|
},
|
||||||
loader: 'css-loader'
|
{
|
||||||
},
|
// Loader for webpack to process CSS with PostCSS
|
||||||
{
|
loader: 'postcss-loader',
|
||||||
// Loader for webpack to process CSS with PostCSS
|
options: {
|
||||||
loader: 'postcss-loader',
|
plugins: function () {
|
||||||
options: {
|
return [
|
||||||
plugins: function () {
|
require ('autoprefixer')
|
||||||
return [
|
];
|
||||||
require('autoprefixer')
|
}
|
||||||
];
|
}
|
||||||
}
|
},
|
||||||
}
|
{
|
||||||
},
|
loader: 'sass-loader'
|
||||||
{
|
}
|
||||||
// Loads a SASS/SCSS file and compiles it to CSS
|
]
|
||||||
loader: 'sass-loader'
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user