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 12:25:34.0
Where are you calling from? <a href="">zydena side effects</a> He highlighted that the size of the shadow banking system had now reached d $70 trillion (43.55 trillion), or 100pc of global gross domestic product (GDP)
2020-10-25 12:03:52.0
Best Site Good Work <a href="">lipitor co pay saving</a> Although there are smaller, more indirect routes into Aleppo, taking the road would significantly reduce the rebels' ability to resupply and it would also allow the army to besiege areas of the city which fell to insurgents two years ago.
2020-10-25 12:03:51.0
A staff restaurant <a href="">where can i purchase micronase</a> A Canton man was arrested at Logan International Airport today in connection with the federal criminal investigation of the New England Compounding Center, which allegedly prepared contaminated medicine that killed 64 and sickened hundreds more, federal prosecutors said.
2020-10-25 12:03:50.0
How do you do? <a href="">lipitor spine herniated</a> In later episodes, we jump ahead to 1897, so you&rsquo;ll see Nucky as a young man and you&rsquo;ll see the city continue to grow
2020-10-25 12:03:50.0
Your account's overdrawn <a href="">what conditions is diclofenac used to treat</a> Immediately there is the defense, from Peterson&rsquo;s attorney Rusty Hardin, the flapping gums who defended Roger Clemens against the government, that Peterson meant the boy no harm
2020-10-25 12:03:49.0
I can't hear you very well <a href="">lipitor spine herniated</a> The airwaves&#x2019; properties limit the distance signals can\ntravel, and don&#x2019;t pass through building walls as well as the\nfrequencies auctioned in the FCC&#x2019;s previous largest sale, a 2008\noffering that drew $19.6 billion in bids.
2020-10-25 11:53:39.0
vue配置移动端自适应 [url=]upvkfkjfxi[/url] pvkfkjfxi <a href="">apvkfkjfxi</a>
2020-10-25 11:41:36.0
What do you want to do when you've finished? <a href="">cephalexin and effexor</a> At least 38 bodies have been found so far but the missing students are not among them, the authorities say.
2020-10-25 11:41:35.0
I'm at Liverpool University <a href="">sildalis tabletki</a> "If you're selling at the wellhead, you're getting a very low number relative to WTI."
2020-10-25 11:41:35.0
I want to make a withdrawal <a href="">low dose antabuse</a> Unfortunately, the Cubs teams he played on were mostly losers, and his biggest regret was that he never came close to going to a World Series