diff --git a/frontend/encore/simple-example.rst b/frontend/encore/simple-example.rst index bed5c73c865..1e82c489104 100644 --- a/frontend/encore/simple-example.rst +++ b/frontend/encore/simple-example.rst @@ -182,7 +182,7 @@ Great! Use ``import`` to import ``jquery`` and ``greet.js``: // ... + // loads the jquery package from node_modules - + import jquery from 'jquery'; + + import $ from 'jquery'; + // import the function from greet.js (the .js extension is optional) + // ./ (or ../) means to look for a local file