-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
style中没有设定scoped但依然生成了css module类名 #312
Labels
Comments
$ vue init mpvue/mpvue-quickstart test-project
? Project name test-project
? wxmp appid touristappid
? Project description A Mpvue project
? Author ananiy
? Vue build runtime
? Use Vuex? No
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Standard
? 小程序测试,敬请关注最新微信开发者工具的“测试报告”功能
vue-cli · Generated "test-project".
To get started:
cd test-project
npm install
npm run dev
Documentation can be found at http://mpvue.com
$ npm i
npm WARN deprecated [email protected]: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated [email protected]: This module relies on Node.js's internals and will break at some point. Do not use it, and update to [email protected].
> [email protected] install /Users/yaning.li/Desktop/workspace/test-project/node_modules/fsevents
> node install
[fsevents] Success: "/Users/yaning.li/Desktop/workspace/test-project/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
> [email protected] postinstall /Users/yaning.li/Desktop/workspace/test-project/node_modules/mpvue-webpack-target/node_modules/uglifyjs-webpack-plugin
> node lib/post_install.js
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of vue-template-compiler@^2.0.0 but none is installed. You must install peer dependencies yourself.
added 1109 packages in 17.621s
$ code . 然后打开就会有这个 data-v-xxxxxx 的类名 如果我去掉pages/index/index.vue 下style的scoped, 这个类名还会存在 |
同问 如何去掉生成的_div data-v-**这些没必要吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问这是feature还是bug...
The text was updated successfully, but these errors were encountered: