refactor(frontend): use css modules

This commit is contained in:
syuilo 2023-05-14 10:21:56 +09:00
parent 89a3195dfd
commit 8c97c54cfa
40 changed files with 148 additions and 262 deletions

View file

@ -1,6 +1,6 @@
<template>
<div>
<MkButton class="llumlmnx" @click="click()">{{ hpml.interpolate(block.text) }}</MkButton>
<MkButton :class="$style.button" @click="click()">{{ hpml.interpolate(block.text) }}</MkButton>
</div>
</template>
@ -41,8 +41,8 @@ export default defineComponent({
});
</script>
<style lang="scss" scoped>
.llumlmnx {
<style lang="scss" module>
.button {
display: inline-block;
min-width: 300px;
max-width: 450px;