Vue JS 2.0 not rendering anything?

后端 未结 4 1215
不知归路
不知归路 2021-01-30 12:28

Using Vue (^2.0.0-rc.6) + Browserify, entry point is index.js:

import Vue from \'vue\'
import App from \'./containers/App.vue\'

new Vue({ // es         


        
4条回答
  •  自闭症患者
    2021-01-30 13:13

    For Vue 3.4.0 You can add a new file at the root directory of the project named

    vue.config.js and add the following into it.

    module.exports = {
      runtimeCompiler: true
    }
    

    Next time when you start the app you can see

    Compiled successfully in 204ms
    20:46:46

    App running at:
    

提交回复
热议问题