AKA the most important part of the whole thing, whatever that thing maybe!
give a detailed description of what the project is, why the client/user needs it, and what solution this aims to provide.
Client:
| var express = require('express') | |
| var path = require('path') | |
| const history = require('connect-history-api-fallback') | |
| const app = express() | |
| app.use(express.static(path.join(__dirname, 'static'))) | |
| app.use(express.static(path.join(__dirname, 'dist'))) | |
| app.use(history({ |
| { | |
| "patterns": { | |
| "TODO": "TODO[\\s]*?[\\s]*(?P<todo>.*)$" | |
| }, | |
| "patterns_weight": { | |
| }, | |
| "exclude_folders": [ | |
| "*.git*", | |
| "node_modules/**" | |
| ], |
| alias dev="cd ~/Development" | |
| eval "$(direnv hook zsh)" | |
| # repo shortcuts | |
| alias seam="cd ~/Development/seam" | |
| # Editor | |
| export EDITOR='vim' | |
| # ExpressVPN |
| image: node:latest | |
| stages: | |
| - build | |
| - test | |
| cache: | |
| key: ${CI_COMMIT_REF_SLUG} | |
| paths: | |
| - node_modules/ |
| // http://mucsi96.github.io/nightwatch-cucumber/ | |
| const seleniumServer = require('selenium-server') | |
| const phantomjs = require('phantomjs-prebuilt') | |
| const chromedriver = require('chromedriver') | |
| require('nightwatch-cucumber')({ | |
| cucumberArgs: [ | |
| '--compiler', 'js:babel-core/register', | |
| '--require', 'features/step_definitions', | |
| '--require', 'features/hooks.js', |
| <div> | |
| <div className="grid-row"> | |
| <div className="col _6 col-demo">col _6</div> | |
| <div className="col _6 col-demo">col _6</div> | |
| </div> | |
| <div className="grid-row"> | |
| <div className="col _6"> | |
| <div className="grid-row"> | |
| <div className="col _6 col-demo">nested col _6</div> | |
| <div className="col _6 col-demo">nested col _6</div> |
| /* | |
| Grid and breakpoints | |
| */ | |
| @gutter-width: 0.5rem; | |
| @outer-margin: 2rem; | |
| @gutter-compensation: calc((@gutter-width * 0.5) * -1); | |
| @half-gutter-width: calc((@gutter-width * 0.5)); | |
| @xs-bp:30rem; |
| // Spread operirators baby | |
| var Array = [[1, 2],[3, 4, 5], [6, 7, 8, 9]]; | |
| var result = [].concat(...Array); | |
| console.log(result); |
| // src/App.vue | |
| <template> | |
| <div> | |
| <div class="menu"> | |
| <router-link :to=" { name: 'home' }">Home</router-link> | |
| <router-link :to=" { name: 'auth' }">Auth</router-link> | |
| </div> | |
| <div id="app"> | |
| <router-view></router-view> | |
| </div> |