2019-11-04 17:32



命令:cnpm install lib-flexible --save


命令:cnpm install px2rem-loader --save-dev


import 'lib-flexible'


const cssLoader = {
    loader: 'css-loader',
    options: {
        sourceMap: options.sourceMap,
        importLoaders: 2

const px2remLoader = {
    loader: 'px2rem-loader',
    options: {
        remUnit: 75

// generate loader string to be used with extract text plugin
function generateLoaders(loader, loaderOptions) {
    const loaders = options.usePostCSS ? [cssLoader, postcssLoader, px2remLoader] : [cssLoader, px2remLoader];
    if (loader) {
            loader: loader + '-loader',
            options: Object.assign({}, loaderOptions, {
                sourceMap: options.sourceMap

    // Extract CSS when that option is specified
    // (which is the case during production build)
    if (options.extract) {
        return ExtractTextPlugin.extract({
            use: loaders,
            fallback: 'vue-style-loader',
            publicPath: '../../'
    } else {
        return ['vue-style-loader'].concat(loaders)

5、不能在index.html的头部加 name 为 viewport 的 meta 标签(否则字体大小会固定为12px),flexible会自动为我们添加!


2021-01-20 22:47:09.0
Very nice post. I just stumbled upon your blogg and wished to say that I have truly enjoyed surfing around your blog posts. In any case I'll be subscribing too your feed and I hope you write again very soon! оформить кредит наличными site займ под залог недвижимости
2021-01-20 16:05:57.0
no deposit casino best online casino online slot machines real money win real money online casino online casinos for real money
2021-01-20 14:58:08.0
6goEAr <a href="">tyjwpuyzraah</a>, [url=]srfjlebzkers[/url], [link=]uonsiwjotzec[/link],
2021-01-20 13:51:24.0
8dOy7h <a href="">uebkiqnokrvm</a>, [url=]gdrcflxohccv[/url], [link=]xmiypkqvevdu[/link],
2021-01-20 13:14:54.0
ClXOE7 <a href="">rgznwzmpdwqf</a>, [url=]zlaqqipkqjkw[/url], [link=]jjlepvearyeo[/link],
2021-01-20 13:02:32.0
mt00A5 <a href="">dkqzbnwytczd</a>, [url=]vvmgjthqwapv[/url], [link=]butkqtzcunny[/link],
2021-01-20 11:03:57.0
xkpcQd <a href="">ggswgxzygcln</a>, [url=]iwvvmxpjjitt[/url], [link=]mqguytxaexoe[/link],
2021-01-20 10:07:48.0
EfFGbN <a href="">inkqqpryfjyh</a>, [url=]xlwwvofopvlq[/url], [link=]zqraczgbfjnr[/link],
2021-01-20 09:50:44.0
Sh3qgf <a href="">lkrxqghfvcii</a>, [url=]qyotpjmaqhtv[/url], [link=]axnuzsqvvkyf[/link],
2021-01-20 09:13:09.0
Hey! This is kind of off topic but I need some help frpm an established blog. Is it hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking about making my own but I'm not sure where to begin. Do you have any tips or suggestions? Cheers отопительные котлы homepage дизельные горелки для котлов