creativetimofficial / ct-paper-dashboard-pro-react

17 stars 6 forks source link

[Bug]SassError: Top-level selectors may not contain the parent selector "&". #14

Closed hxgong closed 3 years ago

hxgong commented 3 years ago

Version 1.2.0

Reproduction link http://localhost

Operating System windows

Device windows

Browser & Version chrome

Steps to reproduce ERROR in ./src/main/webapp/content/scss/paper-dashboard.scss (./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/src!./node_modules/sass-loader/dist/cjs.js??ref--8-3!./src/main/webapp/content/scss/paper-dashboard.scss) Module build failed (from ./node_modules/sass-loader/dist/cjs.js): SassError: Top-level selectors may not contain the parent selector "&". ╷ 25 │ &::-moz-placeholder {@content; } // Firefox │ ^^^^^^^^^^^^^^^^^^^^ ╵ src\main\webapp\content\scss\paper-dashboard\mixins_inputs.scss 25:3 placeholder() src\main\webapp\content\scss\paper-dashboard_inputs.scss 1:1 @import

What is expected? scss files can be compiled

What is actually happening? compile error

github-actions[bot] commented 3 years ago

@hxgong this issue was automatically closed because it did not follow our rules:


IMPORTANT: Please use the following link to create a new issue:

https://www.creative-tim.com/new-issue/paper-dashboard-pro-react

**If your issue was not created using the app above, it will be closed immediately.**

Love Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:
👉  https://www.creative-tim.com/bundles
👉  https://www.creative-tim.com