mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
installing chart.js via npm
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -24,8 +24,7 @@
|
|||||||
<meta property="og:image" content="{{ asset_url('images/notify-og-image.png') }}">
|
<meta property="og:image" content="{{ asset_url('images/notify-og-image.png') }}">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<script type="text/javascript" src="{{ asset_url('js/gtm_head.js') }}"></script>
|
<script type="text/javascript" src="{{ asset_url('js/gtm_head.js') }}"></script>
|
||||||
<script type="text/javascript" src="{{ asset_url('js/chart.js') }}"></script>
|
<script type="text/javascript" src="{{ url_for('static', filename='js/chart.umd.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='js/chart.umd.js') }}"></script>
|
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -125,7 +125,7 @@ const javascripts = () => {
|
|||||||
paths.src + 'javascripts/date.js',
|
paths.src + 'javascripts/date.js',
|
||||||
paths.src + 'javascripts/loginAlert.js',
|
paths.src + 'javascripts/loginAlert.js',
|
||||||
paths.src + 'javascripts/main.js',
|
paths.src + 'javascripts/main.js',
|
||||||
paths.src + 'javascripts/show.js',
|
paths.src + 'javascripts/chartDashboard.js',
|
||||||
])
|
])
|
||||||
.pipe(plugins.prettyerror())
|
.pipe(plugins.prettyerror())
|
||||||
.pipe(plugins.babel({
|
.pipe(plugins.babel({
|
||||||
@@ -201,7 +201,7 @@ const defaultTask = parallel(
|
|||||||
),
|
),
|
||||||
uswds.compile,
|
uswds.compile,
|
||||||
uswds.copyAssets,
|
uswds.copyAssets,
|
||||||
copy.gtm,
|
copy.gtm
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user