V
V
Vladimir Golub2021-05-26 10:49:05
Vue.js
Vladimir Golub, 2021-05-26 10:49:05

How will it access the Vue instance on the server when rendering?

In the nuxt settings I wrote the following -

build: {
    ** You can extend webpack config here
    */
    extend (config, ctx) {
      // https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only
      config.resolve.alias["vue$"] = "vue/dist/vue.esm.js"
    },


I want to get it in the render component -
render: function (h) {
      let template = '';


I don't see it in this.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2021-05-26
@yarkov Vue.js

I want to get it in the render component

Get WHAT? webpack config?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question