vuejs / vueify

Browserify transform for single-file Vue components
MIT License
1.17k stars 152 forks source link

import in Stylus #39

Open stephanedemotte opened 8 years ago

stephanedemotte commented 8 years ago

Hi !

I want to @import in Stylus, but i have this strange error :

Browserify Failed!: Why.vue:undefined:undefined
Cannot read property 'nodeName' of undefined

I'm using vueify via Laravel-elixir-vueify, and i have the last version > 7

When i try with sass everything is good

// work
<style lang="sass">
    @import './resources/assets/sass/config/settings'
</style>
// don't work
<style lang="stylus">
    @import './resources/assets/stylus/config/Settings'
</style>

Any idea ?

stephanedemotte commented 8 years ago

ok ! I got it ! In my settings i have

@lost gutter 0px

it's a lost-grid settings. (https://github.com/corysimmons/lost)

And he don't like it ;)