Skip to content

Commit

Permalink
Add a starter for frontend web dev
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvkb committed Dec 28, 2023
1 parent 5305d6e commit 782e710
Showing 1 changed file with 31 additions and 1 deletion.
32 changes: 31 additions & 1 deletion docs/src/content/docs/cookbooks/starters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,40 @@ specs:
name: Pipfile
```
## Web development
If you build web applications without any of the major JavaScript frameworks,
this config is for you.
```yaml
icons:
html: "" # nf-seti-html
css: "" # nf-seti-css
sass: "" # nf-seti-sass
less: "" # nf-seti-less
specs:
- pattern: \.x?html?$
icon: html
style: rgb(255,212,59)
- pattern: \.s[ac]ss$
icon: sass
style: rgb(255,212,59)
- pattern: \.less$
icon: less
style: rgb(255,212,59)
- pattern: \.css$
icon: css
style: rgb(79,192,141)
collapse:
ext: scss
```
## JavaScript/TypeScript
If you build JavaScript/TypeScript projects, this config is for you. It supports
npm and pnpm as package managers, and Vue and React frameworks as well.
npm and pnpm as package managers, and Vue and React frameworks as well. If you
use JavaScript for frontend development, you should also inherit the web dev
config above.
```yaml
icons:
Expand Down

0 comments on commit 782e710

Please sign in to comment.