We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 196d95a + 5fe4ccf commit 3f91d6dCopy full SHA for 3f91d6d
symfony/webpack-encore-bundle/1.0/assets/js/app.js
@@ -5,10 +5,10 @@
5
* (and its CSS file) in your base layout (base.html.twig).
6
*/
7
8
-// any CSS you require will output into a single css file (app.css in this case)
9
-require('../css/app.css');
+// any CSS you import will output into a single css file (app.css in this case)
+import '../css/app.css';
10
11
-// Need jQuery? Install it with "yarn add jquery", then uncomment to require it.
12
-// const $ = require('jquery');
+// Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
+// import $ from 'jquery';
13
14
console.log('Hello Webpack Encore! Edit me in assets/js/app.js');
0 commit comments