-
Notifications
You must be signed in to change notification settings - Fork 26
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
Issues with Scoped CSS #60
Comments
Hi @ktsn, My package.json:
Here is my webpack config:
I have an App.ts file that looks like this:
An App.css that contains some boring css:
Overall project structure is very simple, as I am just taking vue-template-loader for a spin: OK, so after quite some times reading the docs , I still get this error: Any idea what I am doing wrong here? |
guys this is a dead repo, do not expect any help |
Hi @ktsn ,
I am building an application using vue and typescript. While going through how i could use the same syntax with vue, i came across vue decorators and vue-template-loader. While integrating the loader to use scoped styles I encountered several issues. I have followed all the instructions that has been listed in the docs to use scoped styles while loading html. I have tried almost all the configurations which you have mentioned and also from the issues as well.
package.json
There are different scenarios to this problem, please find my
vue.config.js
below with scenarios:For Config A the errors were in the screenshot 1 and for Config B they were in screenshot 2.
The issue which i mentioned has been encountered before and has been posted in the github issues but none of them helped me enough.
Looking forward for the response.
Thanks,
**Screenshot 1
** Screenshot 2
The text was updated successfully, but these errors were encountered: