Give up on Vite

main
dugo3number2 2023-12-15 14:32:27 -06:00
parent b74f2a911a
commit 751bc712fd
6 changed files with 28 additions and 1259 deletions

24
.gitignore vendored
View File

@ -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?

1207
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
}

0
src/about/index.html Normal file
View File

View File

@ -6,6 +6,33 @@
<title>Beacon Blend</title> <title>Beacon Blend</title>
</head> </head>
<body> <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> </body>
</html> </html>

View File

@ -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"))
},
},
});