Coder Social home page Coder Social logo

hemin1003 / vue-apps Goto Github PK

View Code? Open in Web Editor NEW
19.0 4.0 18.0 10.67 MB

使用vue.js+nodejs开发的微信端实例项目实战,配合vue-router和webpack等,正式环境已运营地址(微信中打开):http://ktz.aylsonclub.com/home

JavaScript 27.57% Vue 65.52% HTML 2.42% CSS 4.49%
vuejs wechat-app wechat webpack nodejs

vue-apps's Introduction

#vue-apps 使用说明#

安装(建议先配置一个淘宝npm下载镜像地址:https://npm.taobao.org/

npm install

调试环境 serve with hot reload at http://localhost:8083

npm run dev

生产环境 build for production with minification

npm run build

#目录结构

|---build/            		自动化构建脚本
|---dist/             		默认发布根目录
	index.html          		访问地址http://localhost
	|---static/         		资源目录
		|---common.js
		|---common.css
		|---default.js
		|---default.css
		|---other.js
		|---other.css
	|---other/          		访问地址http://localhost/other
	 	|---index.html
|---src/              		应用源码
	|---assets/         		资源目录
	 	|---imgs/         		公共图片
	  	|---font/         	字体图标
	  	|---config.js     	公共配置(name , logo...)
	  	|---global.less   	公共样式(reset...)
	  	|---lib.js        	各种框架(vue, vue-router, vux, jquery, fastclick...)
	|---components      		公共组件
		|---index-other.vue         
	|---apps            		单页面应用目录
	  	|---default
		    |---main.js     	当前应用入口
		    |---config.js     当前应用配置
		    |---app.vue       
		    !---page/
		    	|---page1.vue   路由页面组件
		    	|---page2.vue
		    |---vuex/       	应用状态管理
		      |---store.js
		      |---mutation-type.js
		      |---mutations.js
		      |---actions.js
		      |---getters.js
	  	|---other
	    	|---同index
		|---template.html   生成html模板

#参考 https://github.com/bluefox1688/vue-cli-multi-page

vue-apps's People

Contributors

hemin1003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.