This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Description
尝试了一下clone然后跑,有几个地方似乎会有问题,修改之后成功跑起来了:
webpack.config.js:
module.exports = { entry: './src/main.js', output: { - path: './dist', + path: '/dist', publicPath: 'dist/', filename: 'build.js' }, module: { loaders: [{ test: /\.js$/, - loader: 'babel', + loader: 'babel-loader', exclude: /node_modules/ }, { test: /\.vue$/, - loader: 'vue' + loader: 'vue-loader' }] - }, - vue: { - loaders: { - js: 'babel' - } } }