Go to file
Timothy Yin 3a8b78ea7b
feat: update course resource types and interfaces, add resource uploader component
- Expanded CourseResourceType to include "resource" and "temp".
- Renamed ICourseResource to IResource and updated its properties for consistency.
- Introduced ICreateResource type for resource creation.
- Modified ICourseSection and ICourseChapter interfaces to use the new IResource type and updated property names for camelCase.
- Implemented uploadFile function in file API for handling file uploads.
- Created ResourceUploader component for uploading resources with validation and feedback.
- Developed Card component for displaying course class details and managing student enrollment.
- Added AlertDialog components for consistent alert dialog UI.
- Enhanced table components for better data presentation and management.
- Implemented preview page for displaying various resource types based on file extension.
2025-04-08 00:04:29 +08:00
api feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
assets/css feat: 课程章节UI 2025-04-03 22:57:36 +08:00
components feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
layouts feat: 课程章节UI 2025-04-03 22:57:36 +08:00
middleware feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
pages feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
public feat: add authentication requirements to course preparation and resources pages 2025-04-06 00:25:20 +08:00
server feat: 课程章节UI 2025-04-03 22:57:36 +08:00
stores feat: add authentication requirements to course preparation and resources pages 2025-04-06 00:25:20 +08:00
types feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
utils feat: add authentication requirements to course preparation and resources pages 2025-04-06 00:25:20 +08:00
.gitignore feat: 课程章节UI 2025-04-03 22:57:36 +08:00
app.vue feat: add authentication requirements to course preparation and resources pages 2025-04-06 00:25:20 +08:00
components.json feat: 课程章节UI 2025-04-03 22:57:36 +08:00
eslint.config.mjs feat: add authentication requirements to course preparation and resources pages 2025-04-06 00:25:20 +08:00
nuxt.config.ts feat: 添加教师团队管理功能,包括搜索、添加和删除教师团队成员 2025-04-06 02:25:38 +08:00
package.json feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
pnpm-lock.yaml feat: update course resource types and interfaces, add resource uploader component 2025-04-08 00:04:29 +08:00
README.md feat: 课程章节UI 2025-04-03 22:57:36 +08:00
tailwind.config.js feat: 课程章节UI 2025-04-03 22:57:36 +08:00
tsconfig.json feat: 课程章节UI 2025-04-03 22:57:36 +08:00

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.