Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moontai0724/knowledge-king-front-end
https://github.com/moontai0724/knowledge-king-front-end
front-end javascript jwt nuxtjs typescript vuejs yarn
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/moontai0724/knowledge-king-front-end
- Owner: moontai0724
- Created: 2021-07-04T09:15:52.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-03T06:12:38.000Z (over 3 years ago)
- Last Synced: 2024-12-06T10:23:07.780Z (2 months ago)
- Topics: front-end, javascript, jwt, nuxtjs, typescript, vuejs, yarn
- Language: Vue
- Homepage:
- Size: 651 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# knowledge-king-front-end
## Build Setup
### Install Dependencies
```bash
$ yarn install
```### Setup SSL Certificate (Optional)
For those who needs to serve https, there must have ssl cert to serve it.You can generate a self-signed ssl cert by this command:
```bash
openssl req -x509 -new -nodes -sha256 -utf8 -days 3650 -newkey rsa:2048 -keyout ./certs/cert.key -out ./certs/cert.crt
```### Serve
To serve with hot reload
```bash
$ yarn dev
```To build for production and launch server
```bash
$ yarn build
$ yarn generate
$ yarn start
```For detailed explanation on how things work, check out the [documentation](https://nuxtjs.org).