forked from geekuillaume/simplefoc-webcontroller
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhowto
More file actions
26 lines (21 loc) · 704 Bytes
/
howto
File metadata and controls
26 lines (21 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# conda environemnt for node
conda env create -f env.yaml
# then activate
conda activate node
# to run
npm run dev
# to build
npm run build # takes several minutes and creates the dist folder
# copy the dist contenance to the docs folder
# add `.` to make the paths relative
# google track
# add the following to the head of index.html
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=xxxx"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'xxxx');
</script>