• @u1452261116 为啥我运行会报错?

    $ npm run dev

    [email protected] dev /home/yicheng/workbench/ruby/vue-ruby-china node build/dev-server.js

    [HPM] Proxy created: /api/v3 -> https://ruby-china.org

    ERROR Failed to compile with 14 errors 3:44:17 PM

    error in ./src/views/app.js

    https://google.com/#q=import%2Fextensions Unexpected use of file extension "vue" for "./App.vue"
    /home/yicheng/workbench/ruby/vue-ruby-china/src/views/app.js:3:17 import App from './App.vue'; ^

    ✘ 1 problem (1 error, 0 warnings)

    Errors: 1 https://google.com/#q=import%2Fextensions

    error

    ENOENT: no such file or directory, scandir '/home/yicheng/workbench/ruby/vue-ruby-china/node_modules/node-sass/vendor'

    @ ./~/vue-style-loader!./~/css-loader!./~/vue-loader/lib/style-rewriter.js?id=data-v-94798c82!./~/sass-loader!./~/vue-loader/lib/selector.js?type=styles&index=0!./src/views/App.vue 4:14-260 13:2-17:4 14:20-266