Skip to content

Commit

Permalink
Moving element-ui css to css file
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Sep 16, 2017
1 parent b196225 commit 57933d4
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 526 deletions.
1 change: 1 addition & 0 deletions Themes/Adminlte/views/layouts/master.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@foreach($cssFiles as $css)
<link media="all" type="text/css" rel="stylesheet" href="{{ URL::asset($css) }}">
@endforeach
<link media="all" type="text/css" rel="stylesheet" href="{{ mix('css/app.css') }}">
{!! Theme::script('vendor/jquery/jquery.min.js') !!}
@include('partials.asgard-globals')
@section('styles')
Expand Down
2 changes: 2 additions & 0 deletions public/css/app.css

Large diffs are not rendered by default.

528 changes: 14 additions & 514 deletions public/js/app.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"/js/app.js": "/js/app.js"
"/js/app.js": "/js/app.js",
"/css/app.css": "/css/app.css"
}
1 change: 0 additions & 1 deletion resources/assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import VueI18n from 'vue-i18n'
import VueRouter from 'vue-router'
import ElementUI from 'element-ui'
import DataTables from 'vue-data-tables'
import 'element-ui/lib/theme-default/index.css'
import locale from 'element-ui/lib/locale/lang/en'

Vue.use(ElementUI, { locale });
Expand Down
11 changes: 2 additions & 9 deletions resources/assets/sass/app.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@

// Fonts
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");

// Variables
@import "variables";

// Bootstrap
@import "~bootstrap-sass/assets/stylesheets/bootstrap";
// Element UI
@import "~element-ui/lib/theme-default/index.css";
3 changes: 2 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ let mix = require('laravel-mix');
|
*/

mix.js('resources/assets/js/app.js', 'public/js');
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css');

0 comments on commit 57933d4

Please sign in to comment.