mint icon indicating copy to clipboard operation
mint copied to clipboard

Add asset path alias

Open Braayy opened this issue 4 years ago • 0 comments

I was thinking about the path aliases of other frameworks and because the components, store and etc are global in Mint, the only need for path alias is for the asset and svg directives.

So i did think about using #assets so the whole ../../../../assets/ thing are gone.

An example would be @svg(#assets/icons/plus.svg)

If that is a good idea, i would start coding it.

Braayy avatar Jun 08 '21 01:06 Braayy