diff --git a/2021-03-27_routing-01-starting-setup/.browserslistrc b/2021-03-27_routing-01-starting-setup/.browserslistrc new file mode 100644 index 0000000..214388f --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/.browserslistrc @@ -0,0 +1,3 @@ +> 1% +last 2 versions +not dead diff --git a/2021-03-27_routing-01-starting-setup/.eslintrc.js b/2021-03-27_routing-01-starting-setup/.eslintrc.js new file mode 100644 index 0000000..3391da1 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/.eslintrc.js @@ -0,0 +1,17 @@ +module.exports = { + root: true, + env: { + node: true + }, + 'extends': [ + 'plugin:vue/vue3-essential', + 'eslint:recommended' + ], + parserOptions: { + parser: 'babel-eslint' + }, + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' + } +} diff --git a/2021-03-27_routing-01-starting-setup/.gitignore b/2021-03-27_routing-01-starting-setup/.gitignore new file mode 100644 index 0000000..11f5d71 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/.gitignore @@ -0,0 +1,22 @@ +.DS_Store +node_modules +/dist + +# local env files +.env.local +.env.*.local + +# Log files +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# Editor directories and files +.idea +.vscode +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/2021-03-27_routing-01-starting-setup/.prettierrc b/2021-03-27_routing-01-starting-setup/.prettierrc new file mode 100644 index 0000000..92cde39 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/.prettierrc @@ -0,0 +1,3 @@ +{ + "singleQuote": true +} \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/HOW-TO-USE.pdf b/2021-03-27_routing-01-starting-setup/HOW-TO-USE.pdf new file mode 100644 index 0000000..00d28ea Binary files /dev/null and b/2021-03-27_routing-01-starting-setup/HOW-TO-USE.pdf differ diff --git a/2021-03-27_routing-01-starting-setup/babel.config.js b/2021-03-27_routing-01-starting-setup/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/2021-03-27_routing-01-starting-setup/package.json b/2021-03-27_routing-01-starting-setup/package.json new file mode 100644 index 0000000..52d25ec --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/package.json @@ -0,0 +1,23 @@ +{ + "name": "vue-first-app", + "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.6.5", + "vue": "^3.0.0" + }, + "devDependencies": { + "@vue/cli-plugin-babel": "~4.5.0", + "@vue/cli-plugin-eslint": "~4.5.0", + "@vue/cli-service": "~4.5.0", + "@vue/compiler-sfc": "^3.0.0-0", + "babel-eslint": "^10.1.0", + "eslint": "^6.7.2", + "eslint-plugin-vue": "^7.0.0-0" + } +} diff --git a/2021-03-27_routing-01-starting-setup/public/favicon.ico b/2021-03-27_routing-01-starting-setup/public/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/2021-03-27_routing-01-starting-setup/public/favicon.ico differ diff --git a/2021-03-27_routing-01-starting-setup/public/index.html b/2021-03-27_routing-01-starting-setup/public/index.html new file mode 100644 index 0000000..4123528 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/public/index.html @@ -0,0 +1,17 @@ + + + + + + + + <%= htmlWebpackPlugin.options.title %> + + + +
+ + + diff --git a/2021-03-27_routing-01-starting-setup/src/App.vue b/2021-03-27_routing-01-starting-setup/src/App.vue new file mode 100644 index 0000000..915ae1e --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/App.vue @@ -0,0 +1,62 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/nav/TheNavigation.vue b/2021-03-27_routing-01-starting-setup/src/components/nav/TheNavigation.vue new file mode 100644 index 0000000..8cfcb47 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/nav/TheNavigation.vue @@ -0,0 +1,68 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/teams/TeamMembers.vue b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamMembers.vue new file mode 100644 index 0000000..c747da7 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamMembers.vue @@ -0,0 +1,52 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsItem.vue b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsItem.vue new file mode 100644 index 0000000..d6708ac --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsItem.vue @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsList.vue b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsList.vue new file mode 100644 index 0000000..719d549 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/teams/TeamsList.vue @@ -0,0 +1,30 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/users/UserItem.vue b/2021-03-27_routing-01-starting-setup/src/components/users/UserItem.vue new file mode 100644 index 0000000..bc55aff --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/users/UserItem.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/components/users/UsersList.vue b/2021-03-27_routing-01-starting-setup/src/components/users/UsersList.vue new file mode 100644 index 0000000..1bd87ef --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/components/users/UsersList.vue @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/2021-03-27_routing-01-starting-setup/src/main.js b/2021-03-27_routing-01-starting-setup/src/main.js new file mode 100644 index 0000000..c4286c3 --- /dev/null +++ b/2021-03-27_routing-01-starting-setup/src/main.js @@ -0,0 +1,7 @@ +import { createApp } from 'vue'; + +import App from './App.vue'; + +const app = createApp(App) + +app.mount('#app');