Skip to content

Support for Atomizer #1073

Open
Open
@chinchang

Description

@chinchang

What problem does this feature solve?

Atomizer: https://github.com/acss-io/atomizer
Atomizer is a tool to create atomic classes by parsing HTML. I am using vue SFC and Atomizer so need a way for Atomizer to parse .vue files. Without integrating Atomizer inside vue-loader, it doesn't seems possible for both to run independently on .vue files.

If this sounds valid, I can contribute on it.

What does the proposed API look like?

What I expect w.r.t. to developer experience after this feature is something like this in .vue files:

<template lang="acss">
<div class="Bgc(red) P(20px)">Hello World</div>
</template>

And the generated CSS would be internally passed on to css-loader and style-loader.

<!-- generated by vue-issues. DO NOT REMOVE -->

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions