diff --git a/.browserslistrc b/.browserslistrc new file mode 100644 index 0000000..d6471a3 --- /dev/null +++ b/.browserslistrc @@ -0,0 +1,2 @@ +> 1% +last 2 versions diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..11cf2bf --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,17 @@ +module.exports = { + root: true, + env: { + node: true + }, + 'extends': [ + 'plugin:vue/essential', + 'eslint:recommended' + ], + parserOptions: { + parser: 'babel-eslint' + }, + rules: { + 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + } +} diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..370a6ed --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +.DS_Store +node_modules +*.log +explorations +TODOs.md +dist/*.gz +dist/*.map +dist/vue.common.min.js +test/e2e/reports +test/e2e/screenshots +coverage +RELEASE_NOTE*.md +dist/*.js +packages/vue-server-renderer/basic.js +packages/vue-server-renderer/build.js +packages/vue-server-renderer/server-plugin.js +packages/vue-server-renderer/client-plugin.js +packages/vue-template-compiler/build.js +.vscode diff --git a/auth_config.json b/auth_config.json new file mode 100644 index 0000000..7b6e7f5 --- /dev/null +++ b/auth_config.json @@ -0,0 +1,4 @@ +{ + "domain": "dev-xu-97g3w.eu.auth0.com", + "clientId": "W0Iim8av0OOJXQMfuPiOAjA3fx3ESQoi" +} diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e955840 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,5 @@ +module.exports = { + presets: [ + '@vue/cli-plugin-babel/preset' + ] +} diff --git a/flow.md b/flow.md new file mode 100644 index 0000000..394a06c --- /dev/null +++ b/flow.md @@ -0,0 +1,141 @@ +# Flow + Structure of Vue project + + +- If components are to be imported elsewhere they should `export default` and set their name to be the name of the html element you want. +- If components import an element they should `export default` and set a `components` with an array of the components being used in the html. + + +``` + import Nav from './components/partials/Nav.vue'; + export default { + name: 'App', + components: { + Nav + } + } +``` + + +## Main Page + + +### `App.vue` + + +This is the main entrypoint into the website. + + +- `template` should inject a `
` +- insert the `