diff --git a/tutorials/events-app/auth_config.json b/tutorials/events-app/auth_config.json new file mode 100644 index 0000000..7b6e7f5 --- /dev/null +++ b/tutorials/events-app/auth_config.json @@ -0,0 +1,4 @@ +{ + "domain": "dev-xu-97g3w.eu.auth0.com", + "clientId": "W0Iim8av0OOJXQMfuPiOAjA3fx3ESQoi" +} diff --git a/tutorials/events-app/flow.md b/tutorials/events-app/flow.md new file mode 100644 index 0000000..018818a --- /dev/null +++ b/tutorials/events-app/flow.md @@ -0,0 +1,98 @@ +# 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 `
@@ -20,23 +21,17 @@