1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 21:02:13 +03:00
guide/front
Gigiman 3d8fee8c5c
Category description add edit (#251)
* Migrate routing from prod to new front v 0.5

* migrate category link to new fron v 0.5.5

* migrate category link to new fron v 0.0.8

* migrate category link to new-front caching issue

* window bug fix

* Category description v 0.0.1

* formatting and unnecessary quote marks deleted

* fix originalDescription assignment

* Added category description edit/add

* Added 409 error handling (need to add functionaly to buttons)

* changed: added emit for conflict popup

* changed: added api request to conflict handlng

* rename Article -> Category, ArticleContent -> CategoryItem

* minor rename fix

* changed: moved all description changes to a single function, emit call fixes, minor style fixes

* changed: category description conflict data sent to api fixes

* refactoring bug fix

* fix: if description exists no description shown in textarea

* fix: empty field in the Dialog

* changed: emit event from conflict-dialog refactoring and fix

* changed: 400 api error fix

* changed: old summary blink bug six

* minor fix

* hotfix: textare bug fix

* api change fix

* minor fix

* changed: fixed several time description saves failing

* Merge with develop - many bugs

* merge with develop - critical bug fix

* merge with develop bug-fixes

* refactoring

* bug fixes

* changed: replace textarea to markdown in category description. Need to do same with conflict dialog

* changed: resolved linter warnings, added markdown to merged window in conflicts dialog

* minor fix

* cancel, text-wrap fix

* minor fix

* minor fix

* minor fix and uid -> id in addDescription

* changed: minor fix 2

* small changes

* small refactoring

* part of refactoring, btn text bug fix

* move no-category description stub to same div where category description is being loaded

* move category to own component

* minor fixes, enable mobile layout

* small change

* small changes

* slot removed

* small changes

* throw err moved to else statement

* small changes

* minor fix

* small changes

* description button text and icon refactoring

* add description btn icon/text small refactoring
2019-02-04 12:57:28 +05:00
..
build removed unused pug loader 2019-01-14 12:47:46 +04:00
client Category description add edit (#251) 2019-02-04 12:57:28 +05:00
server Category description add edit (#251) 2019-02-04 12:57:28 +05:00
.babelrc Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
.editorconfig Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
.gitignore Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
config.json apiUrl back to localhost 2019-01-30 16:26:22 +06:00
index.d.ts Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
index.html allow mobile resize in html 2019-01-31 22:17:48 +06:00
package-lock.json Category description add edit (#251) 2019-02-04 12:57:28 +05:00
package.json removed unused pug loader 2019-01-14 12:47:46 +04:00
postcss.config.js Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
README.md Fully replaced frontend part. Now everything written in typescript. 2018-09-02 23:26:15 +03:00
tsconfig.json chagned tsconfig rule 2018-11-25 20:26:10 +03:00
tslint.json Chore/typings and refactor category item actions (#243) 2018-11-21 13:31:31 +03:00

@vert/vue-ssr-template

Vue project template with SSR, Vert and TypeScript support.

A tiny demo to show how to use @vert/core.

You can use this as your vert template.

Features

  • Webpack 4.
  • Vue SSR support.
  • Full TypeScript.
  • Code in OOP.
  • @vert/core support.

Commands

  • client:dev - Start developing environment of client content.
  • client:build - Build client content.
  • server:dev - Start developing environment of ssr server.
  • server:build - Build ssr content.
  • build-all - Run client:build and server:build at same time. Please run this command for deployment.
  • start:dev - Run client:dev and server:dev at same time. Please run this command for development.
  • start:prod - Start ssr server in production environment. You should run build-all first to make it works.

Development

Normally just run start:dev to start both normal http and ssr environment, and then:

  • Go localhost:4000 for normal http environment.
  • Go localhost:5000 for SSR-enabled environment.

Ports setting is stored in build/build-config.js.

Production

Run build-all to files for production.

Then,

  • Send your static files which are located in dist/ to your (CDN) server.
  • If you want to host a SSR server, the simplest way is to send the whole project to somewhere and run start:prod. But you can also build service by your own, just transfer vue-bundle-json files under dist/ to your location and setup your API Gateway.