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.
1 parent f40ec08 commit d084e99Copy full SHA for d084e99
frontend/encore/simple-example.rst
@@ -74,6 +74,21 @@ To build the assets, run:
74
75
Stop and restart ``encore`` each time you update your ``webpack.config.js`` file.
76
77
+.. note::
78
+
79
+ If you prefer npm, run these commands instead:
80
81
+ .. code-block:: terminal
82
83
+ # compile assets once
84
+ $ npm run dev
85
86
+ # or, recompile assets automatically when files change
87
+ $ npm run watch
88
89
+ # on deploy, create a production build
90
+ $ npm run build
91
92
Congrats! You now have three new files:
93
94
* ``public/build/app.js`` (holds all the JavaScript for your "app" entry)
0 commit comments