You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
public | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
babel.config.js | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago |
README.md
letenka
Project setup
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
Customize configuration
instalace vue + projekt
- vytvoření složky
- npm install @vue/cli
- node_modules.bin\vue create název_projektu
- Zvolíme [Vue 2]
- cd název_projektu\
- npm run serve
nasazení na server vue + html,js,css
1.přihlášení na https://vpn.asgard.odbornaskola.cz/ (přihlašovací údaje)
2.ssh webmaster@ip_adresa
3.tajné heslo
4.git clone (pro včechny stránky) / v případě akutalice atačí (cd projec a následně git pull)
5.nano /etc/nginx/sites-enabled/webproject (vše zakomentujeme a vložíme tam cestu k našemu souboru)
6.vložíme $root /home/webmaster/stavebniny/dist; (bez vue je to bez toho dist)
7.uložíme a restartujeme (sudo symstemctl + restart nginx)