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会自动为我们添加!


2020-10-25 10:57:42.0
Sorry, you must have the wrong number <a href="">allergy under tongue alavert alternative loratadine</a> The FCC on Friday voted unanimously to open a so-called"notice of inquiry" into what it and the industry can do to turna new swath of very high-frequency airwaves, previously deemedunusable for mobile networks, into mobile-friendly frequencies.
2020-10-25 10:57:41.0
Is this a temporary or permanent position? <a href="">antibiotics amoxicillin in pregnancy</a> Dorries thinks this reaction will spread to other women too, meaning that the actions of her stalker could stop women from progressing into high-profile jobs and shattering glass ceilings.
2020-10-25 10:57:40.0
Withdraw cash <a href="">bisoprolol 10 kaufen</a> Dre headphones, "There was literally nothing like it before in the headphone market."
2020-10-25 10:35:48.0
We need someone with qualifications <a href="">cataflam jarabe dosis para adultos</a> A growing number of children are using prescription puberty blockers so that they can stop unwanted changes in their bodies like breasts or facial hair.
2020-10-25 10:35:46.0
I support Manchester United <a href="">preço de zydena 100 mg</a> It&#039;s thought that this serum may contain particles that could neutralise the virus
2020-10-25 10:35:46.0
International directory enquiries <a href="">frumil online</a> In short, this new innovation from Estonia, while perhaps a little gimmicky, is the harbinger of what&rsquo;s coming on a much larger scale
2020-10-25 10:35:45.0
Hold the line, please <a href="">vimax video</a> The minutes of the central bank's last policymaking meeting showed a growing rift between so-called hawks, who worry rising inflation could hurt the economy, and doves, who want to continue the unprecedented easy money policies until the job market is stronger.
2020-10-25 10:35:45.0
US dollars <a href="">where to buy hoodia in australia</a> In addition to their limited-edition watches, the "ace" golfers are also awarded membership of the exclusive BOSS Watches H1 Club, which offers its members access to exclusive benefits and merchandise.
2020-10-25 10:13:22.0
I work here <a href="">vxl-3s blinking red</a> The UN Children's Fund launched a program to allow Syrian families in Jordan to buy winter clothes for their children, while Save the Children and the U.N
2020-10-25 10:13:22.0
Can I call you back? <a href="">buying clozaril</a> The borders, combatants, allegiances, and military objectives in the Syrian war are too fluid to conform to our usual expectations