Skip to content

Commit

Permalink
引入 postcss-nested 依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Aug 26, 2024
1 parent f04ea14 commit a40d7cb
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"picocolors": "^1.0.1",
"plop": "^4.0.1",
"postcss": "^8.4.41",
"postcss-nested": "^6.2.0",
"sass": "^1.77.8",
"simple-git-hooks": "^2.11.1",
"stylelint": "^16.8.2",
Expand Down
2 changes: 1 addition & 1 deletion plop-templates/component/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ defineOptions({
</div>
</template>

<style lang="scss" scoped>
<style scoped>
// 样式
</style>
2 changes: 1 addition & 1 deletion plop-templates/page/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ defineOptions({
</div>
</template>

<style lang="scss" scoped>
<style scoped>
// 样式
</style>
14 changes: 14 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
plugins: {
autoprefixer: {},
'autoprefixer': {},
'postcss-nested': {},
},
}

0 comments on commit a40d7cb

Please sign in to comment.