Code looks fine. What version of tailwind are you using? I’m using 1.2 and grids work fine like that.
` "tailwindcss": "^1.2.0",`
From my package.json
New error in style.scss. This wasn't there before but I recopied and pasted from your post and now I'm getting this.
ERROR in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./node_modules/postcss-loader/src??postcss!./src/styles.scss) Module build failed (from ./node_modules/postcss-loader/src/index.js): Error: Failed to find './custom-tailwind/custom-utilities.css' in [ /workspace/fcc-drum-machine/src ] at resolveModule.catch.catch (/workspace/fcc-drum-machine/node_modules/postcss-import/lib/resolve-id.js:35:13)
must have been something there. recompiled with an empty custom-utilities.css file while I'm getting the following waring.
custom-utilities.css
WARNING in ./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./node_modules/postcss-loader/src??postcss!./src/styles.scss) Module Warning (from ./node_modules/postcss-loader/src/index.js): Warning (6:1) /workspace/fcc-drum-machine/src/custom-tailwind/custom-utilities.css is empty
It's compiling now and the grid is now working.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Code looks fine. What version of tailwind are you using? I’m using 1.2 and grids work fine like that.
From my package.json
New error in style.scss. This wasn't there before but I recopied and pasted from your post and now I'm getting this.
must have been something there. recompiled with an empty
custom-utilities.css
filewhile I'm getting the following waring.
It's compiling now and the grid is now working.