Подготовить сайт к запуску
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="860" height="460" viewBox="0 0 860 460" role="img" aria-label="jQuery в Webpack">
|
||||
<rect width="860" height="460" fill="#f7f4ed"/>
|
||||
<rect x="24" y="24" width="812" height="412" rx="18" fill="#ffffff" stroke="#242424" stroke-width="2"/>
|
||||
<rect x="24" y="24" width="812" height="14" rx="7" fill="#2563eb"/>
|
||||
<text x="56" y="82" font-size="30" font-weight="700" fill="#1f2933">jQuery в Webpack</text>
|
||||
<text x="56" y="116" font-size="16" fill="#52606d">Один экземпляр библиотеки для модулей и старых плагинов</text>
|
||||
|
||||
<rect x="60" y="140" width="740" height="248" rx="14" fill="#111827" stroke="#111827" stroke-width="2"/>
|
||||
<circle cx="92" cy="164" r="6" fill="#ef4444"/><circle cx="114" cy="164" r="6" fill="#f59e0b"/><circle cx="136" cy="164" r="6" fill="#22c55e"/>
|
||||
<text x="84" y="178" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace">import $ from "jquery";</text><text x="84" y="206" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace">window.$ = window.jQuery = $;</text><text x="84" y="234" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace"></text><text x="84" y="262" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace">new webpack.ProvidePlugin({</text><text x="84" y="290" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace"> $: "jquery",</text><text x="84" y="318" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace"> jQuery: "jquery"</text><text x="84" y="346" font-size="17" fill="#d7e3f5" font-family="SFMono-Regular, Menlo, Consolas, monospace">});</text>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
Reference in New Issue
Block a user