modify template structure
- add editorconfig & pug config - add watch command - update gitignore with local envs
This commit is contained in:
parent
8bb9311b99
commit
824c7777a9
9
.editorconfig
Normal file
9
.editorconfig
Normal file
|
@ -0,0 +1,9 @@
|
|||
root = true
|
||||
[*]
|
||||
tab_width = 4
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -78,6 +78,7 @@ web_modules/
|
|||
.env.test.local
|
||||
.env.production.local
|
||||
.env.local
|
||||
.envrc
|
||||
|
||||
# parcel-bundler cache (https://parceljs.org/)
|
||||
.cache
|
||||
|
@ -129,5 +130,8 @@ dist
|
|||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
# ignore local variables
|
||||
/vars.*.pug
|
||||
|
||||
# ignore local research stash
|
||||
_stash/
|
||||
|
|
0
includes/body.pug
Normal file
0
includes/body.pug
Normal file
0
includes/head.pug
Normal file
0
includes/head.pug
Normal file
0
includes/tail.pug
Normal file
0
includes/tail.pug
Normal file
|
@ -1,5 +1,7 @@
|
|||
include vars
|
||||
doctype html
|
||||
|
||||
head
|
||||
|
||||
include includes/head
|
||||
body
|
||||
include includes/body
|
||||
include includes/tail
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"build": "parcel build index.pug",
|
||||
"serve": "parcel watch index.pug"
|
||||
"serve": "parcel serve index.pug",
|
||||
"watch": "parcel watch index.pug"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user