forked from lichenbuliren/vuex-notes-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (58 loc) · 3.16 KB
/
index.html
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Vuex-notes-app : ">
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Vuex-notes-app</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/lichenbuliren/vuex-notes-app">View on GitHub</a>
<h1 id="project_title">Vuex-notes-app</h1>
<h2 id="project_tagline"></h2>
<section id="downloads">
<a class="zip_download_link" href="https://github.com/lichenbuliren/vuex-notes-app/zipball/master">Download this project as a .zip file</a>
<a class="tar_download_link" href="https://github.com/lichenbuliren/vuex-notes-app/tarball/master">Download this project as a tar.gz file</a>
</section>
</header>
</div>
<!-- MAIN CONTENT -->
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h1>
<a id="vuex-notes-app" class="anchor" href="#vuex-notes-app" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>vuex-notes-app</h1>
<blockquote>
<p>A Notes App with Vuex</p>
</blockquote>
<h2>
<a id="项目初始化" class="anchor" href="#%E9%A1%B9%E7%9B%AE%E5%88%9D%E5%A7%8B%E5%8C%96" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>项目初始化</h2>
<div class="highlight highlight-source-shell"><pre><span class="pl-c"># 克隆项目代码</span>
git clone https://github.com/lichenbuliren/vuex-notes-app.git
<span class="pl-c"># 进入到项目根目录</span>
<span class="pl-c1">cd</span> vuex-notes-app
<span class="pl-c"># 安装依赖包</span>
npm install
<span class="pl-c"># serve with hot reload at localhost:8080</span>
npm run dev</pre></div>
<h2>
<a id="常见问题" class="anchor" href="#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>常见问题</h2>
<p>由于该例子使用的是<code>sass</code>写的样式,如果编译的时候,控制台出现<code>ERROR in Cannot find module 'node-sass'</code>,说明你的环境缺少全局的模块。</p>
<p>安装<code>node-sass</code>模块,推荐使用<code>cnpm</code>安装</p>
<div class="highlight highlight-source-shell"><pre>cnpm install -g node-sass </pre></div>
<p><strong>*window用户请用管理员模式安装</strong></p>
<p>For detailed explanation on how things work, checkout the <a href="http://vuejs-templates.github.io/webpack/">guide</a> and <a href="http://vuejs.github.io/vue-loader">docs for vue-loader</a>.</p>
</section>
</div>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Vuex-notes-app maintained by <a href="https://github.com/lichenbuliren">lichenbuliren</a></p>
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
</footer>
</div>
</body>
</html>