diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php
index 61d24cbba3580f20e54bba891c008b2b11ecffc4..d1ef4c355dd09d86637dd07e49b0099ba432241a 100644
--- a/core/modules/views/lib/Drupal/views/ViewExecutable.php
+++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php
@@ -424,7 +424,7 @@ public function __construct(ViewStorageInterface $storage) {
     $this->storage->set('executable', $this);
 
     // Add the default css for a view.
-    $this->element['#attached']['css'][] = drupal_get_path('module', 'views') . '/css/views.module.css';
+    $this->element['#attached']['library'][] = array('views', 'views.module');
   }
 
   /**
diff --git a/core/modules/views/views.module b/core/modules/views/views.module
index fe5a23349fdd67a41cca16318767de808c7e7765..85537cc651a92391d6712b518e4f4ac5f189063c 100644
--- a/core/modules/views/views.module
+++ b/core/modules/views/views.module
@@ -792,13 +792,20 @@ function views_hook_info() {
  * Implements hook_library_info().
  */
 function views_library_info() {
-  $path = drupal_get_path('module', 'views') . '/js';
+  $path = drupal_get_path('module', 'views');
+  $libraries['views.module'] = array(
+    'title' => 'Views base',
+    'version' => VERSION,
+    'css' => array(
+      "$path/css/views.module.css"
+    ),
+  );
   $libraries['views.ajax'] = array(
     'title' => 'Views AJAX',
     'version' => VERSION,
     'js' => array(
-      "$path/base.js" => array('group' => JS_DEFAULT),
-      "$path/ajax_view.js" => array('group' => JS_DEFAULT),
+      "$path/js/base.js" => array('group' => JS_DEFAULT),
+      "$path/js/ajax_view.js" => array('group' => JS_DEFAULT),
     ),
     'dependencies' => array(
       array('system', 'jquery'),
@@ -813,7 +820,7 @@ function views_library_info() {
     'title' => 'Views Contextual links',
     'version' => VERSION,
     'js' => array(
-      "$path/views-contextual.js" => array('group' => JS_LIBRARY, 'weight' => -10),
+      "$path/js/views-contextual.js" => array('group' => JS_LIBRARY, 'weight' => -10),
     ),
     'dependencies' => array(
       array('system', 'jquery'),