/dev-www

vue多页应用demo,不包含路由

Primary LanguageJavaScriptMIT LicenseMIT

dev-www

vue多页应用,未使用路由

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run start

# build for production with minification
npm run build

执行npm run build后在dist目录下生成最终编译后问文件,就可以直接在浏览器打开这些文件,点击页面底部打开index和打开index2即可切换inde.html和index2.html,页面跳转可使用

<a href="index.html">打开index</a><br>

,项目未引入其他路由等概念,尽量简化。 项目适合只想使用vue进行组件化开发而不引入其他东西