You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 26, 2018. It is now read-only.
I have some SFC .vue files that get compiled by Vueify... but for styles inside of my node_modules, my @import's are not being replaced with the contents of the modules I want to import. It works for local files just fine... My editor can find the file at the path that I'm navigating to, so I'm positive I haven't typo'd it.
We're running a really basic vueify setup and we don't have any custom configuration options setup.
Example code
<template>
<v-calendar></v-calendar>
</template>
<script>
const { Calendar } = require('v-calendar');
module.exports = {
name: 'myComponent'
components: { 'v-calendar': Calendar },
}
</script>
<style scoped>
@import 'v-calendar/lib/v-calendar.min.css'; // my editor resolves this with no problem... :/
</style>
I've tried:
Changing the style to be upscoped
adding "module" after style
absolute pathing from the current folder to my node_modules, and to that .css file.
creating a vue.config.js and adding 'node_modules' into the includePaths under "less" (after using lang="less")
Can someone add documentation or explain how to integrate with styles inside of node_modules? Thanks.
The text was updated successfully, but these errors were encountered:
JessicaSachs
changed the title
Vueify and styles in the node_modules directory
How to use Vueify with styles in the node_modules directory
Nov 11, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have some SFC .vue files that get compiled by Vueify... but for styles inside of my node_modules, my
@import
's are not being replaced with the contents of the modules I want to import. It works for local files just fine... My editor can find the file at the path that I'm navigating to, so I'm positive I haven't typo'd it.We're running a really basic vueify setup and we don't have any custom configuration options setup.
Example code
I've tried:
Can someone add documentation or explain how to integrate with styles inside of
node_modules
? Thanks.The text was updated successfully, but these errors were encountered: