kompo / laravel-vue-tailwind-starter

Starting a Kompo dev environment with Laravel, Vue & Tailwind scaffolding
0 stars 0 forks source link

Error installing tailwind #2

Closed luis9430 closed 3 years ago

luis9430 commented 3 years ago

hi, what would be the best way to install tailwind with kompo?

I am using this code in webpack.mix.js to require tailwind and run the command npm run dev

mix.js('resources/js/app.js', 'public/js') .sass('resources/sass/app.scss', 'public/css') .options({ processCssUrls: false, postCss: [ tailwindcss('./tailwind.config.js') ], })

when requiring webpack.mix.js file I get this error

`ERROR in ./node_modules/vue-kompo/js/query/query-layouts/Horizontal.vue 1:0 Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders>