How tvrrdfn/math-papers works
Project type and purpose
• This is a front-end single-page application (SPA) built with Vue.js.
• It serves as an interactive “数学试题” (math quiz/test) platform.
File structure
• Top-level build pipeline
• build/ – custom webpack scripts and helpers
• config/ – environment configs for dev/prod
• .babelrc, webpack.*.conf.js – transpile and bundle settings
• Application source (src/)
• main.js + App.vue – app entry point and root component
• router/index.js – Vue Router definitions (views/routes)
• store/ – Vuex modules (state, actions, mutations)
• services/ – API wrappers (e.g., questions.services.js)
• components/ – feature components (Papers, question types, break-down, test-paper, etc.)
• ui/ – reusable UI component library and demos
• assets/, styles/, utils/ – static assets, SASS/CSS frameworks, helper functions
• static/ – files copied directly to final build output
README for additional insights
• “npm run dev” launches a webpack dev server with hot-reload
• “npm run build” produces a minified production bundle
• No built-in backend – relies on external API or mock data for questions