Vue v-cloak doesn't work.

problem description

vue v-cloak does not work after webpack compiles css

the environmental background of the problems and what methods you have tried

write

to the css file
import template from "./tmpl.html";
let style = require("./style.css");
module.exports.createApp = function () {
    return new Vue({
        template,
        data: {
            style,
        }
    })
}
May.29,2021

Visual use of css module, requires switching to global scope.

:global([v-cloak]) {
  display: none;
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3da55-2c3a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3da55-2c3a0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?