Skip to content

Mixins are no longer globally available? #17779

Closed
@Bengejd

Description

@Bengejd

Bug Report

Ionic version: -->
[x] 4.x

Current behavior:
You cannot access global mixins imported into the global.scss file, without having to manually import their relative path into the component you want to use them in.

Expected behavior:
When you go to import a mixin that is imported into the global.scss file, you would expect it to be used globally without having to manually import the mixin file into the component that you want to use it in. This was how it worked in Ionic V2, V3 but for whatever reason, it is not accessable in V4 without having to manually import them everytime...

Steps to reproduce:
Create a mixin.scss file, import it into globabl.scss, and attempt to use it in a component/page. Then you'll be met with an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions