Skip to content

Commit 84228ba

Browse files
committed
调整 sass.md标题
1 parent 574c159 commit 84228ba

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

en/Tutorial/extension/sass.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
### Sass
1+
# Sass
22

33
Sass is a CSS extension that allows you to use variables , nested rules , mixins , inline imports and other functions based on CSS syntax to make CSS more powerful and elegant..
44

55
Using Sass and the Compass style library can help better organize and manage style files and develop projects more efficiently.
66

77
[sass docs](http://en.sass.hk/docs/)
88

9-
### Install
9+
## Install
1010

1111
In HBuilderX, the use of `scss/sass` requires the installation of the `compile-node-sass compilation plugin`.
1212

1313
[compile-node-sass Download](https://ext.dcloud.net.cn/plugin?id=2046)
1414

15-
### usage
15+
## usage
1616

1717
- The uni-app project will automatically compile files that use sass。
1818
- Compile the sass file separately. Select the sass file, click the right-click menu -> external command -> sass -> compile scss/sass.
1919

2020
<img src="/static/snapshots/tutorial/menu_tool/project-explorer_menu_en.png" class="hd-img"/>
2121

22-
### Configuration file
22+
## Configuration file
2323

2424
The configuration file of compile-node-sass is package.json.
2525

@@ -67,15 +67,16 @@ Click the menu [Tools -> External Command Setting -> compile-node-sass -> packag
6767
}
6868

6969
```
70-
### shortcut keys
70+
71+
## shortcut keys
7172

7273
Click the menu [Tools -> External Command Setting -> compile-node-sass -> package.json] to open the package.json file.
7374

7475
Open package.json and modify the key value to configure the shortcut key; this external command can be run directly through this shortcut key.
7576

7677
For example: `"key": "ctrl + alt + C"`
7778

78-
### Save and compile now
79+
## Save and compile now
7980

8081
Click the menu [Tools -> External Command Setting -> compile-node-sass -> package.json] to open the package.json file.
8182

0 commit comments

Comments
 (0)