mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
fix erb+nonJS loaders
This commit is contained in:
parent
0cf1b535cd
commit
72d79e8e31
@ -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 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">
|
<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"/>
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
test: /\.html\.erb$/,
|
test: /\.html\.erb$/,
|
||||||
loader: [
|
loader: [
|
||||||
|
'html-loader',
|
||||||
'rails-erb-loader',
|
'rails-erb-loader',
|
||||||
'html-loader'
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
@ -3,6 +3,7 @@ module.exports = {
|
|||||||
enforce: 'pre',
|
enforce: 'pre',
|
||||||
exclude: /node_modules/,
|
exclude: /node_modules/,
|
||||||
loader: [
|
loader: [
|
||||||
|
'sass-loader',
|
||||||
'rails-erb-loader'
|
'rails-erb-loader'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user