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
[6.0.0-beta.14][Trying to use vue-router and Tailwindcss 2.0 together]Module parse failed: Unexpected token (1:0) #2625
Comments
|
As I understand Vue SFCs doesn't work with PostCSS 8-only plugins yet. You can use the tailwind PostCSS 7 compatibility build to work around this (see: https://tailwindcss.com/docs/installation#post-css-7-compatibility-build) |
|
Okay I tried using the below command as seen in the link and I still experienced the same issue Until I downgrade the laravel mix verstion from |
|
With the new version and vue3 support built in, you need to specify wich vue version you want to use. mix.js('src/app.js', 'dist').vue({ version: 2 });See the docs: https://laravel-mix.com/docs/6.0/vue @thecrypticace I guess you don't have support for |
|
|
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
npm list --depth=0)node -v): 14.8.0npm -v): 6.14.8Description:
for using Tailwindcss 2.0, i have to use beta 6.0.0-beta.14, but if i use vue-router , .vue file resolve failed
Steps To Reproduce:
create a file called postcss.config.js under the root directory , and make the file like this
. npm install
. npm run dev
The text was updated successfully, but these errors were encountered: