mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
vue deployed to now successfully
This commit is contained in:
parent
ee57a7cd65
commit
daa847f527
3 changed files with 28 additions and 1 deletions
|
|
@ -2,6 +2,20 @@
|
||||||
|
|
||||||
We are using are VueJS as a build tool to help create a modular version of the Fantasy Map Generator so that individual contributors can work with more manageable files.
|
We are using are VueJS as a build tool to help create a modular version of the Fantasy Map Generator so that individual contributors can work with more manageable files.
|
||||||
|
|
||||||
|
## Getting Started
|
||||||
|
|
||||||
|
```
|
||||||
|
yarn
|
||||||
|
yarn serve
|
||||||
|
```
|
||||||
|
|
||||||
|
## Production
|
||||||
|
|
||||||
|
```
|
||||||
|
yarn build
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Goal
|
## Goal
|
||||||
|
|
||||||
We could divide and conquer in steps.
|
We could divide and conquer in steps.
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint"
|
"lint": "vue-cli-service lint",
|
||||||
|
"start": "vue-cli-service serve",
|
||||||
|
"dev": "node build/dev-server.js"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"vue": "^2.5.17"
|
"vue": "^2.5.17"
|
||||||
|
|
|
||||||
11
vue/vue.config.js
Normal file
11
vue/vue.config.js
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
module.exports = {
|
||||||
|
// options...
|
||||||
|
devServer: {
|
||||||
|
compress: true,
|
||||||
|
inline: true,
|
||||||
|
port: '8080',
|
||||||
|
allowedHosts: [
|
||||||
|
'.now.sh'
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue