Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update installation.rst#13734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
javiereguiluz merged 1 commit intosymfony:3.4fromabdounikarim:patch-5
Jun 3, 2020
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 14 additions & 4 deletionsfrontend/encore/installation.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -98,14 +98,24 @@ is the main config file for both Webpack and Webpack Encore:
module.exports=Encore.getWebpackConfig();
Next,create a new ``assets/js/app.js`` filewithsomebasicJavaScript*and*
importsomeJavaScript:
Next,open the new ``assets/js/app.js`` filewhich containssome JavaScriptcode
*and* importssomeCSS:

..code-block::javascript
// assets/js/app.js
require('../css/app.css');
/*
* Welcome to your app's main JavaScript file!
*
* We recommend including the built version of this JavaScript file
* (and its CSS file) in your base layout (base.html.twig).
*/
// any CSS you import will output into a single css file (app.css in this case)
import'../css/app.css';
// Need jQuery? Install it with "yarn add jquery", then uncomment to import it.
// import $ from 'jquery';
console.log('Hello Webpack Encore');
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp