Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An incomprehensible bug. #40

Open
ajh99990 opened this issue Jul 10, 2023 · 0 comments
Open

An incomprehensible bug. #40

ajh99990 opened this issue Jul 10, 2023 · 0 comments

Comments

@ajh99990
Copy link

@vue/cli 5.0.8
node v16.17.0
vue 3.2.47
vue-cli-plugin-windicss 1.1.6
unplugin-auto-import 0.16.4
unplugin-vue-components 0.24.1

Once I include the "vue-cli-plugin-windicss" plugin in my "package.json" file,

devDependencies:{
"vue-cli-plugin-windicss": "^1.1.6",
}

my page will look like this:
image

On the contrary, if I remove this plugin and run the command "vue-cli-service serve" again, the page will look like this, everything will be back to normal.
image

I swear I have never written this strange code anywhere.

var _ = require("!!../node_modules/lodash/lodash.js");module.exports = function (templateParams) { with(templateParams) {return (function(data) { var __t, __p = ''; __p += '\n\n \n \n \n \n \n \n \n \n \n
\n \n\n'; return __p })();}}
@ajh99990 ajh99990 changed the title Is a funnny bug. An incomprehensible bug. Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant