Skip to content
Snippets Groups Projects
Commit df8e5487 authored by Alexander Repeta's avatar Alexander Repeta
Browse files

Исправляет скрипт для нескольких html-страниц и добавляет index.html

parent 696d14de
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"dev": "parcel src/index.html --open",
"dev": "parcel src/*.html --open",
"build": "parcel build src/index.html"
},
"repository": {
......
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Заголовок страницы</title>
</head>
<body>
<!-- Скрипт идёт последним в разметке -->
<script src="index.js"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment