{"action":"created","issue":{"url":"https://api.github.com/repos/museui/muse-ui/issues/115","repository_url":"https://api.github.com/repos/museui/muse-ui","labels_url":"https://api.github.com/repos/museui/muse-ui/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/museui/muse-ui/issues/115/comments","events_url":"https://api.github.com/repos/museui/muse-ui/issues/115/events","html_url":"https://github.com/museui/muse-ui/issues/115","id":192550407,"number":115,"title":"为什么css不能找到","user":{"login":"nbslr","id":23208889,"avatar_url":"https://avatars.githubusercontent.com/u/23208889?v=3","gravatar_id":"","url":"https://api.github.com/users/nbslr","html_url":"https://github.com/nbslr","followers_url":"https://api.github.com/users/nbslr/followers","following_url":"https://api.github.com/users/nbslr/following{/other_user}","gists_url":"https://api.github.com/users/nbslr/gists{/gist_id}","starred_url":"https://api.github.com/users/nbslr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbslr/subscriptions","organizations_url":"https://api.github.com/users/nbslr/orgs","repos_url":"https://api.github.com/users/nbslr/repos","events_url":"https://api.github.com/users/nbslr/events{/privacy}","received_events_url":"https://api.github.com/users/nbslr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-30T12:13:06Z","updated_at":"2016-12-01T00:05:32Z","closed_at":null,"body":"上午的时候能行，都没有动过，晚上重启则出现如下问题\r\nERROR in ./src/main.js Module not found: Error: Cannot resolve module 'style' in D:\\voa\\oa\\src @ ./src/main.js 15:0-35\r\n那这文件明明在的\r\n------------------------main.js----------------------\r\nimport Vue from 'vue'\r\nimport App from './App'\r\nimport MuseUI from 'muse-ui'\r\nimport 'muse-ui/dist/muse-ui.css'\r\nVue.use(MuseUI)\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n  el: '#app',\r\n  template: '<App/>',\r\n  components: { App }\r\n})"},"comment":{"url":"https://api.github.com/repos/museui/muse-ui/issues/comments/264037203","html_url":"https://github.com/museui/muse-ui/issues/115#issuecomment-264037203","issue_url":"https://api.github.com/repos/museui/muse-ui/issues/115","id":264037203,"user":{"login":"nbslr","id":23208889,"avatar_url":"https://avatars.githubusercontent.com/u/23208889?v=3","gravatar_id":"","url":"https://api.github.com/users/nbslr","html_url":"https://github.com/nbslr","followers_url":"https://api.github.com/users/nbslr/followers","following_url":"https://api.github.com/users/nbslr/following{/other_user}","gists_url":"https://api.github.com/users/nbslr/gists{/gist_id}","starred_url":"https://api.github.com/users/nbslr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbslr/subscriptions","organizations_url":"https://api.github.com/users/nbslr/orgs","repos_url":"https://api.github.com/users/nbslr/repos","events_url":"https://api.github.com/users/nbslr/events{/privacy}","received_events_url":"https://api.github.com/users/nbslr/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T00:05:32Z","updated_at":"2016-12-01T00:05:32Z","body":"webpack.base.js\r\n------------------------------------\r\nvar path = require('path')\r\nvar config = require('../config')\r\nvar utils = require('./utils')\r\nvar projectRoot = path.resolve(__dirname, '../')\r\n\r\nvar env = process.env.NODE_ENV\r\n// check env & config/index.js to decide weither to enable CSS Sourcemaps for the\r\n// various preprocessor loaders added to vue-loader at the end of this file\r\nvar cssSourceMapDev = (env === 'development' && config.dev.cssSourceMap)\r\nvar cssSourceMapProd = (env === 'production' && config.build.productionSourceMap)\r\nvar useCssSourceMap = cssSourceMapDev || cssSourceMapProd\r\n\r\nmodule.exports = {\r\n  entry: {\r\n    app: './src/main.js'\r\n  },\r\n  output: {\r\n    path: config.build.assetsRoot,\r\n    publicPath: process.env.NODE_ENV === 'production' ? config.build.assetsPublicPath : config.dev.assetsPublicPath,\r\n    filename: '[name].js'\r\n  },\r\n  resolve: {\r\n    extensions: ['', '.js', '.vue'],\r\n    fallback: [path.join(__dirname, '../node_modules')],\r\n    alias: {\r\n      'vue$': 'vue/dist/vue.common.js',\r\n      'src': path.resolve(__dirname, '../src'),\r\n      'assets': path.resolve(__dirname, '../src/assets'),\r\n      'components': path.resolve(__dirname, '../src/components')\r\n    }\r\n  },\r\n  resolveLoader: {\r\n    fallback: [path.join(__dirname, '../node_modules')]\r\n  },\r\n  module: {\r\n    loaders: [\r\n      {\r\n        test: /\\.vue$/,\r\n        loader: 'vue'\r\n      },\r\n      {\r\n        test: /\\.js$/,\r\n        loader: 'babel',\r\n        include: projectRoot,\r\n        exclude: /node_modules/\r\n      },\r\n      {\r\n        test: /\\.json$/,\r\n        loader: 'json'\r\n      },\r\n      {\r\n        test: /\\.(png|jpe?g|gif|svg)(\\?.*)?$/,\r\n        loader: 'url',\r\n        query: {\r\n          limit: 10000,\r\n          name: utils.assetsPath('img/[name].[hash:7].[ext]')\r\n        }\r\n      },\r\n      {\r\n        test: /\\.(woff2?|eot|ttf|otf)(\\?.*)?$/,\r\n        loader: 'url',\r\n        query: {\r\n          limit: 10000,\r\n          name: utils.assetsPath('fonts/[name].[hash:7].[ext]')\r\n        }\r\n      }\r\n    ]\r\n  },\r\n  vue: {\r\n    loaders: utils.cssLoaders({ sourceMap: useCssSourceMap }),\r\n    postcss: [\r\n      require('autoprefixer')({\r\n        browsers: ['last 2 versions']\r\n      })\r\n    ]\r\n  }\r\n}\r\n"}}
{"actor":{"display_login":"nbslr"}}