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

I can't get the css string #58

Open
cfour-hi opened this issue Sep 17, 2021 · 0 comments
Open

I can't get the css string #58

cfour-hi opened this issue Sep 17, 2021 · 0 comments

Comments

@cfour-hi
Copy link

cfour-hi commented Sep 17, 2021

Do you want to request a feature or report a bug?

feature

What is the current behavior?

import CSS can not get the string.

import cssString from './index.css';
console.log('cssString', cssString, cssString.toString()); // => cssString [object Object] [object Object]

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

If this is a feature request, what is motivation or use case for changing the behavior?

I want to get the css string.

Please mention other relevant information such as your webpack version, Node.js version and Operating System.

OS: macOS Big Sur
Node.js: 14.17.1
@vue/cli-service: 4.5.13
webpack: 4.46.0
vue-style-loader: 4.1.3

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