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

Can't use v-runtime-template along with the Nuxt Vite #245

@Asef00

Description

@Asef00

Versions

nuxt-vite: 0.3.5
nuxt: 2.15.8
v-runtime-template: 1.10.0

Reproduction

  1. npm init nuxt-app <project-name>
  2. npm i -D nuxt-vite
  3. npm install v-runtime-template
  4. Add the following to nuxt.config.js:
buildModules: ["nuxt-vite"],

build: {
  extend(config, { isDev, isClient }) {
    config.resolve.alias["vue"] = "vue/dist/vue.common";
  },
},
  1. try using v-runtime-template

Description

I'm getting the following warning and nothing shows up. Didn't find any solution yet:

[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

https://github.com/Asef00/nuxt-vite

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions