Closed
Description
I am trying to use pug as template lang but getting an error when including the mixins.
Error says:
Module build failed: Error: the "basedir" option is required to use includes and extends with "absolute" paths
Where am I supposed to configure the basedir option?
I have installed the pug using
npm install pug --save-dev
My Login.vue looks like this now:
<template lang="pug">
include /pug/PrependInput.pug
div.app.flex-row.align-items-center
div.container
b-row.justify-content-center
b-col(md="5")
b-card.p-4(no-body)
b-card-body
h1 Login
</template>
Works fine, when I don't use include.
Metadata
Metadata
Assignees
Labels
No labels