Rename templates into views. Fix paths to static files.
This commit is contained in:
parent
b4f1bd854a
commit
bc95db6f47
@ -6,7 +6,7 @@
|
||||
],
|
||||
"license": "AGPL",
|
||||
"main": [
|
||||
"accountant/frontend/templates/layout.html",
|
||||
"accountant/frontend/static/index.html",
|
||||
"accountant/frontend/static/js/app.js"
|
||||
],
|
||||
"ignore": [
|
||||
|
@ -9,8 +9,8 @@ module.exports = {
|
||||
'indent-width': 2
|
||||
},
|
||||
src: [
|
||||
'accountant/frontend/templates/**/*.html',
|
||||
'accountant/frontend/static/templates/**/*.html'
|
||||
'accountant/frontend/static/*.html',
|
||||
'accountant/frontend/static/views/*.html'
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -7,7 +7,7 @@ module.exports = {
|
||||
},
|
||||
index: {
|
||||
files: {
|
||||
'accountant/frontend/templates/layout.html': 'accountant/frontend/templates/layout.html'
|
||||
'accountant/frontend/static/index.html': 'accountant/frontend/static/index.html'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -18,8 +18,8 @@ module.exports = {
|
||||
},
|
||||
html: {
|
||||
files: [
|
||||
'accountant/frontend/templates/**/*.html',
|
||||
'accountant/frontend/static/templates/**/*.html'
|
||||
'accountant/frontend/static/*.html',
|
||||
'accountant/frontend/static/views/*.html'
|
||||
],
|
||||
tasks: ['htmldev']
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
app: {
|
||||
src: ['accountant/frontend/templates/layout.html'],
|
||||
src: ['accountant/frontend/static/index.html'],
|
||||
ignorePath: /\.\.\//
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user