feat: 初始化笔记项目
- 新建后端项目 biji-houdaun,使用 Spring Boot 和 SQLite - 新建前端项目 biji-qianduan,使用 Vue3 - 添加 Dockerfile 用于构建后端镜像 -配置 .gitignore 和 .gitattributes 文件
This commit is contained in:
65
biji-qianduan/.gitignore
vendored
Normal file
65
biji-qianduan/.gitignore
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
### Example user template template
|
||||
### Example user template
|
||||
|
||||
# IntelliJ project files
|
||||
.idea
|
||||
target
|
||||
*.iml
|
||||
out
|
||||
mvnw
|
||||
.mvn
|
||||
mvnw.cmd
|
||||
gen
|
||||
logs
|
||||
logs/*
|
||||
*.gz
|
||||
*/.vscode
|
||||
.vscode
|
||||
#忽略所有.svn目录
|
||||
.svn/
|
||||
#忽略所有target目录
|
||||
target/
|
||||
#忽略所有.idea目录及其内容
|
||||
.idea/
|
||||
.idea/*
|
||||
vite.svg
|
||||
vue.svg
|
||||
#忽略所有.ipr文件
|
||||
*.ipr
|
||||
#忽略所有.iws文件
|
||||
*.iws
|
||||
#忽略所有.gradle目录
|
||||
.gradle/
|
||||
#忽略所有.settings目录
|
||||
.settings/
|
||||
#忽略所有.classpath文件
|
||||
.classpath
|
||||
#忽略所有.project文件
|
||||
.project
|
||||
#忽略所有.pydevproject文件
|
||||
.pydevproject
|
||||
#忽略所有.DS_Store文件
|
||||
.DS_Store
|
||||
#忽略所有.class文件
|
||||
*.class
|
||||
#忽略所有.log文件
|
||||
*.log
|
||||
#忽略所有.tmp文件
|
||||
*.tmp
|
||||
#忽略所有.swp文件
|
||||
*.swp
|
||||
node_modules/
|
||||
/dist/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.git
|
||||
|
||||
# Editor directories and files
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
dist/
|
||||
npm-debug.log
|
||||
.vscode/
|
||||
33
biji-qianduan/index.html
Normal file
33
biji-qianduan/index.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>我的笔记</title>
|
||||
</head>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
#app {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
1228
biji-qianduan/package-lock.json
generated
Normal file
1228
biji-qianduan/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
18
biji-qianduan/package.json
Normal file
18
biji-qianduan/package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "biji-qianduan",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.2.3",
|
||||
"vite": "^6.3.5"
|
||||
}
|
||||
}
|
||||
26
biji-qianduan/src/App.vue
Normal file
26
biji-qianduan/src/App.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
<template>
|
||||
<div id="app"></div>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.logo {
|
||||
height: 6em;
|
||||
padding: 1.5em;
|
||||
will-change: filter;
|
||||
transition: filter 300ms;
|
||||
}
|
||||
.logo:hover {
|
||||
filter: drop-shadow(0 0 2em #646cffaa);
|
||||
}
|
||||
.logo.vue:hover {
|
||||
filter: drop-shadow(0 0 2em #42b883aa);
|
||||
}
|
||||
</style>
|
||||
4
biji-qianduan/src/main.js
Normal file
4
biji-qianduan/src/main.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import { createApp } from 'vue'
|
||||
import App from './App.vue'
|
||||
|
||||
createApp(App).mount('#app')
|
||||
7
biji-qianduan/vite.config.js
Normal file
7
biji-qianduan/vite.config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
})
|
||||
Reference in New Issue
Block a user