added eslint for astro

This commit is contained in:
Daniel
2023-04-03 18:10:02 +05:30
parent c8869e768b
commit 93a77bb56e
8 changed files with 146 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
---
const { path } = Astro.props
const distPath = (path != undefined) ? path : '../../../dist'
const adminlteJsUrl = distPath + '/js/adminlte.js'
---
<!-- OPTIONAL SCRIPTS -->
<!-- overlayscrollbars -->
@@ -14,7 +15,7 @@ const distPath = (path != undefined) ? path : '../../../dist'
<!-- REQUIRED SCRIPTS -->
<!-- AdminLTE App -->
<script src={distPath + '/js/adminlte.js'}></script>
<script src={adminlteJsUrl} is:inline></script>
<!-- OPTIONAL SCRIPTS -->
<script is:inline>