1
0
Fork 0

Setup for Vite

main
dugo3number2 2023-12-15 13:57:22 -06:00
parent 578914a754
commit 5b2dfff87a
3 changed files with 44 additions and 0 deletions

24
.gitignore vendored Normal file
View File

@ -0,0 +1,24 @@
# 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?

14
package.json Normal file
View File

@ -0,0 +1,14 @@
{
"name": "websitedesign2024",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
},
"devDependencies": {
"vite": "^5.0.8"
}
}

6
vite.config.js Normal file
View File

@ -0,0 +1,6 @@
module.exports = {
root: 'src',
build: {
outDir: '../build'
}
}