Skip to content

Latest commit

 

History

History
95 lines (67 loc) · 1.67 KB

README.md

File metadata and controls

95 lines (67 loc) · 1.67 KB

Gitpod Ready-to-Code

Vue-App

The is the app to show display all the blog posts.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Create router

vue add router

Library

Axios

Notice:

redirect

When the components redirect to another view route. If this.$router.push has an path, the params value will be ignore.

e.g.

this.$router.push({name: 'home', params: { msg: "home"}})
// or
this.$router.push({path: '/home', query: {msg: "home"}})

Image url

https://raw.githubusercontent.com/shijiezhou1/Artemis/master/img/xxx.png

Vue template example

https://vuejsexamples.com/

JSON String Escape

https://www.freeformatter.com/json-escape.html#ad-output

Permission list

default-src *  data: blob: filesystem: about: ws: wss: 'unsafe-inline' 'unsafe-eval' 'unsafe-dynamic'; 
script-src * data: blob: 'unsafe-inline' 'unsafe-eval'; 
connect-src * data: blob: 'unsafe-inline'; 
img-src * data: blob: 'unsafe-inline'; 
frame-src * data: blob: ; 
style-src * data: blob: 'unsafe-inline';
font-src * data: blob: 'unsafe-inline';

Vue Environment variable

Must use VUE_APP_ for the prefix

Manifest generator

https://app-manifest.firebaseapp.com/

Updating git name