master
Chakib Benziane 5 years ago
parent af0a5ec217
commit 7de021d82e

@ -0,0 +1,5 @@
{
"presets": [
"env"
]
}

1
.gitignore vendored

@ -1,3 +1,4 @@
node_modules
dist
.cache
yarn-error.log

@ -0,0 +1 @@
v10.15.3

@ -1,2 +1,19 @@
# bit4sat
## Installation
- init/install the right node version in `.nvmrc`
```
nvm install $(cat .nvmrc)
nvm use
```
- install yarn
`sudo apt update && sudo apt install -y yarn`
- install deps
`yarn`

@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title></title>
</head>
<body>
<div id="app">
{{ message }}
</div>
<br></br>
<div id="app2">
<span v-bind:title="message">
Consectetur dolorem ipsum eius commodi a Alias blanditiis quae sapiente.
</span>
</div>
<script src="./src/index.js"></script>
</body>
</html>

@ -0,0 +1,26 @@
{
"name": "bits4sat",
"version": "1.0.0",
"main": "index.js",
"repository": "git@git.sp4ke.com:sp4ke/bits4sat.git",
"author": "spike",
"license": "MIT",
"private": true,
"devDependencies": {
"babel-core": "^6.26.3",
"babel-preset-env": "^1.7.0",
"eslint": "^5.15.1",
"eslint-plugin-vue": "^5.2.2",
"parcel-bundler": "^1.12.1",
"parcel-plugin-eslint": "^1.0.7"
},
"dependencies": {
"vue": "^2.6.8"
},
"alias": {
"vue": "./node_modules/vue/dist/vue.common.js"
},
"scripts": {
"start": "parcel index.html"
}
}

@ -0,0 +1,18 @@
import styles from './styles/index.css';
import Vue from 'vue';
window.app = new Vue({
el: '#app',
data:{
message: 'hello world !'
}
});
window.app2 = new Vue({
el: '#app2',
data:{
message: 'you loaded this page' + new Date().toLocaleString()
}
});

@ -0,0 +1,5 @@
@import './variables.css';
body {
}

@ -0,0 +1,3 @@
:root{
--test: yellow;
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save