mirror of
https://github.com/key-networks/ztncui.git
synced 2025-06-07 10:43:44 +02:00
Use CDN for jquery as temp workaround for pkg problem
This commit is contained in:
parent
fd94cd7f5c
commit
c3db94a0a3
5 changed files with 5 additions and 4 deletions
|
@ -34,7 +34,7 @@ git clone https://github.com/key-networks/ztncui
|
||||||
|
|
||||||
##### 2. Install the [node.js](https://nodejs.org) packages:
|
##### 2. Install the [node.js](https://nodejs.org) packages:
|
||||||
```shell
|
```shell
|
||||||
cd ztncui
|
cd ztncui/src
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
|
systemctl daemon-reload
|
||||||
systemctl try-restart ztncui
|
systemctl try-restart ztncui
|
||||||
|
|
2
src/package-lock.json
generated
2
src/package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ztncui",
|
"name": "ztncui",
|
||||||
"version": "0.3.0",
|
"version": "0.3.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "ztncui",
|
"name": "ztncui",
|
||||||
"version": "0.3.0",
|
"version": "0.3.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./bin/www",
|
"start": "node ./bin/www",
|
||||||
|
|
|
@ -11,7 +11,7 @@ html(lang='en')
|
||||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||||
link(rel='stylesheet', href='/bscss/bootstrap.min.css')
|
link(rel='stylesheet', href='/bscss/bootstrap.min.css')
|
||||||
link(rel='stylesheet', href='/stylesheets/style.css')
|
link(rel='stylesheet', href='/stylesheets/style.css')
|
||||||
script(src='/jqjs/jquery.min.js')
|
script(src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js')
|
||||||
script(src='/bsjs/bootstrap.min.js')
|
script(src='/bsjs/bootstrap.min.js')
|
||||||
body
|
body
|
||||||
block body_content
|
block body_content
|
||||||
|
|
Loading…
Add table
Reference in a new issue