const gulp = require('gulp');
const sass = require('gulp-sass');
const postcss = require('gulp-postcss');
const postcssImport = require('postcss-import');
module.exports.css = () => {
return gulp
.src('./scss/**/*.scss')
.pipe(sass())
.pipe(postcss([postcssImport()]))
.pipe(gulp.dest('./css'));
};
@import 'normalize.css';
export default {
name: 'modal-hello',
};
<modal-root>
сюда будут рендериться модалки
</modal-root>
mounted() {
this.$modal.open('modal-hello');
}
<md-button class="md-primary">Primary</md-button>
<v-btn small color="primary">Primary</v-btn>
<fish-button type="primary">Primary</fish-button>
<q-btn color="primary" label="Primary" />
<el-button type="primary">Primary</el-button>
<b-button variant="success">Button</b-button>
<Button type="primary">Primary</Button>
<Button primary">Primary</Button>
<md-button class="u-mb20 md-primary">Primary</md-button>
function queryString(params) {
return Object.keys(params).map((key) => `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`).join('&');
}