Give up on Vite
parent
b74f2a911a
commit
751bc712fd
|
@ -1,24 +0,0 @@
|
|||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
lerna-debug.log*
|
||||
|
||||
node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
.DS_Store
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
|
@ -1,15 +0,0 @@
|
|||
{
|
||||
"name": "websitedesign2024",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite src",
|
||||
"build": "vite build src",
|
||||
"preview": "vite preview src"
|
||||
},
|
||||
"devDependencies": {
|
||||
"glob": "^10.3.10",
|
||||
"vite": "^5.0.8"
|
||||
}
|
||||
}
|
|
@ -6,6 +6,33 @@
|
|||
<title>Beacon Blend</title>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Beacon Blend</h1>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href="#" id="current">Home</a></li>
|
||||
<li><a href="about">About</a></li>
|
||||
<li><a href="menu">Menu</a></li>
|
||||
<li><a href="order">Order</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="cover">
|
||||
|
||||
</div>
|
||||
<main>
|
||||
<section>
|
||||
<!-- Information -->
|
||||
</section>
|
||||
<section>
|
||||
<!-- Highlighted coffees -->
|
||||
</section>
|
||||
<section>
|
||||
<!-- Images -->
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
|
@ -1,12 +0,0 @@
|
|||
import path from "path";
|
||||
import { glob } from "glob";
|
||||
import { defineConfig } from 'vite'
|
||||
|
||||
export default defineConfig({
|
||||
build: {
|
||||
outDir: path.join(__dirname, "../docs"),
|
||||
rollupOptions: {
|
||||
input: glob.sync(path.resolve(__dirname, "src", "*.html"))
|
||||
},
|
||||
},
|
||||
});
|
Loading…
Reference in New Issue