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

webpack.config.js更新 #1

@NorviNS

Description

@NorviNS

尝试了一下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' - } } } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions