diff --git a/babel.config.js b/babel.config.js new file mode 100755 index 0000000..e955840 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/jsconfig.json b/jsconfig.json new file mode 100755 index 0000000..4aafc5f --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "esnext", + "baseUrl": "./", + "moduleResolution": "node", + "paths": { + "@/*": [ + "src/*" + ] + }, + "lib": [ + "esnext", + "dom", + "dom.iterable", + "scripthost" + ] + } +} diff --git a/package.json b/package.json new file mode 100755 index 0000000..989ba4c --- /dev/null +++ b/package.json @@ -0,0 +1,27 @@ +{ + "name": "cooperation", + "version": "0.1.0", + "private": true, + "scripts": { + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint" + }, + "dependencies": { + "core-js": "^3.8.3", + "primeicons": "^7.0.0", + "pug": "^3.0.3", + "pug-plain-loader": "^1.1.0", + "vue": "^3.2.13" + }, + "devDependencies": { + "@babel/core": "^7.12.16", + "@babel/eslint-parser": "^7.12.16", + "@vue/cli-plugin-babel": "~5.0.0", + "@vue/cli-plugin-eslint": "~5.0.0", + "@vue/cli-service": "~5.0.0", + "eslint": "^7.32.0", + "eslint-plugin-vue": "^8.0.3", + "vue-cli-plugin-windicss": "~1.1.6" + } +} diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100755 index 0000000..df36fcf Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100755 index 0000000..3e5a139 --- /dev/null +++ b/public/index.html @@ -0,0 +1,17 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + +
+ + + diff --git a/src/App.vue b/src/App.vue new file mode 100755 index 0000000..1f31074 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,69 @@ + + + + + diff --git a/src/assets/logo.png b/src/assets/logo.png new file mode 100755 index 0000000..f3d2503 Binary files /dev/null and b/src/assets/logo.png differ diff --git a/src/components/PageArticle.vue b/src/components/PageArticle.vue new file mode 100755 index 0000000..fe2053b --- /dev/null +++ b/src/components/PageArticle.vue @@ -0,0 +1,28 @@ + + + diff --git a/src/components/PageFile.vue b/src/components/PageFile.vue new file mode 100755 index 0000000..67a9cbf --- /dev/null +++ b/src/components/PageFile.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/components/PageHome.vue b/src/components/PageHome.vue new file mode 100644 index 0000000..36934c6 --- /dev/null +++ b/src/components/PageHome.vue @@ -0,0 +1,86 @@ + + + \ No newline at end of file diff --git a/src/components/PageQiye.vue b/src/components/PageQiye.vue new file mode 100755 index 0000000..ea7c94d --- /dev/null +++ b/src/components/PageQiye.vue @@ -0,0 +1,58 @@ + + + diff --git a/src/components/PageWeibo.vue b/src/components/PageWeibo.vue new file mode 100755 index 0000000..487da02 --- /dev/null +++ b/src/components/PageWeibo.vue @@ -0,0 +1,42 @@ + + + diff --git a/src/main.js b/src/main.js new file mode 100755 index 0000000..e86aa81 --- /dev/null +++ b/src/main.js @@ -0,0 +1,6 @@ +import { createApp } from 'vue' +import App from './App.vue' +import 'primeicons/primeicons.css' +import 'windi.css' + +createApp(App).mount('#app') diff --git a/vue.config.js b/vue.config.js new file mode 100755 index 0000000..6596a0b --- /dev/null +++ b/vue.config.js @@ -0,0 +1,5 @@ +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ + transpileDependencies: true, + lintOnSave: false +})