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