Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

davy_yg's avatar
Level 27

@use postcss-nested

Hello,

I found this tab codes that I want to implement.

ref: https://codepen.io/everdimension/pen/xZLggo?css-preprocessor=none

I copy paste the whole codes in a new folder but the codes do not work as expected.

I see this code on the top:

@use postcss-nested;

Now, how to install postcss-nested?

ref: https://www.npmjs.com/package/postcss-nesting

E:\xampp72\htdocs\ECOM_COMP\tab>npm install postcss-nesting --save-dev

	npm WARN saveError ENOENT: no such file or directory, open 'E:\xampp72\htdocs\ECOM_COMP\tab\package.json'
	npm notice created a lockfile as package-lock.json. You should commit this file.
	npm WARN enoent ENOENT: no such file or directory, open 'E:\xampp72\htdocs\ECOM_COMP\tab\package.json'
	npm WARN tab No description
	npm WARN tab No repository field.
	npm WARN tab No README data
	npm WARN tab No license field.

	+ [email protected]
	added 11 packages from 40 contributors and audited 11 packages in 4.057s

	1 package is looking for funding
	run `npm fund` for details

	found 0 vulnerabilities

	Do I need to install laravel for this simple web component?  I thought having these three files (html, js, css) could make the whole web works.

What's missing?

0 likes
1 reply
rawilk's avatar

What's missing?

Basic programming knowledge and debugging skills

Please or to participate in this conversation.