Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

import message error #29

Open
raganyaYoung opened this issue Jun 6, 2016 · 1 comment
Open

import message error #29

raganyaYoung opened this issue Jun 6, 2016 · 1 comment

Comments

@raganyaYoung
Copy link

image

image

error

image

望大神指点
@raganyaYoung
Copy link
Author

already done! Add these to package.json

var ExtractTextPlugin = require('extract-text-webpack-plugin');

module: {
    loaders: [
      {
        test: /\.css$/,
        loader: 'style-loader!css-loader'
      },
      {
        test: /\.(scss|sass)$/,
        loaders: ["style", "css", "sass"]
      },
      {
        test: /\.(otf|eot|svg|ttf|woff)/,
        loader: 'url-loader?limit=8192&name=/[hash].[ext]'
      },
    ],
  },

 vue: {
    loaders: {
      css: ExtractTextPlugin.extract('css'),
      sass: ExtractTextPlugin.extract('css!sass')
    }
  },


  plugins: [
    new ExtractTextPlugin("style.css"),
  ],

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant