1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

fix erb+nonJS loaders

This commit is contained in:
Sylvain 2020-09-16 14:12:45 +02:00
parent 0cf1b535cd
commit 72d79e8e31
4 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@
<a ng-click="toggleNavSize($event)" class="btn btn-link visible-xs" data-toggle="class:nav-off-screen" data-target="#nav"><i class="fa fa-bars"></i></a>
<a ui-sref="app.public.home" class="navbar-brand" ng-click="goabout = false">
<img ng-src="{{logo.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="m-r-sm"/>
<%= raw "<label class='label-staging label label-warning text-sm hidden-sm hidden-xs'>Staging</label>" if Rails.env.staging? %>
</a>
</div>

View File

@ -1,7 +1,7 @@
module.exports = {
test: /\.html\.erb$/,
loader: [
'html-loader',
'rails-erb-loader',
'html-loader'
]
};

View File

@ -3,6 +3,7 @@ module.exports = {
enforce: 'pre',
exclude: /node_modules/,
loader: [
'sass-loader',
'rails-erb-loader'
]
};