mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-21 05:51:13 +02:00
App.jsx: fix template for index.html in file mode creation
This commit is contained in:
@@ -344,8 +344,19 @@ export default class App extends Component {
|
|||||||
files || [
|
files || [
|
||||||
{
|
{
|
||||||
name: 'index.html',
|
name: 'index.html',
|
||||||
content:
|
content: `<!DOCTYPE html>
|
||||||
'hello\n<link rel="stylesheet" href="styles/style.css">\n<script src="script.js"></script>'
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
<meta name="viewport" content="width=device-width" />
|
||||||
|
<title>Webmaker untitled 1</title>
|
||||||
|
<link rel="stylesheet" href="styles/style.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Hello World
|
||||||
|
<script src="script.js"></script>
|
||||||
|
</body>
|
||||||
|
</html>`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'styles',
|
name: 'styles',
|
||||||
|
Reference in New Issue
Block a user