hmhao / avalon2-webpack2-spa Goto Github PK
View Code? Open in Web Editor NEW由vue脚手架修改过来,适合vue开发者使用,采用类vue的单文件组件书写,异步、嵌套路由
由vue脚手架修改过来,适合vue开发者使用,采用类vue的单文件组件书写,异步、嵌套路由
我看到,directive文件夹里的js文件都会定义一个priority,优先权这个属性,我想知道,这个属性的意义是什么?
F:\avalon2-webpack2-spa-master>cnpm install
我看你扩展了一些特性,我想知道,这些特性是否支持IE8?因为我也在追求将avalon往Vue的那种构建模式靠近,但是在路由这块遇到了瓶颈,我想知道你的这个实现,在浏览器兼容上,能达到IE8的标准么?多谢了。
报错,[email protected] dev: node build/dev-server.js
我看到你项目里面有一个:ref,这个是什么作用?怎么用?这个貌似不是avalon的标签吧?
正好最近有个项目要兼容IE7,尝试下。 感谢
router index.js 63行 匹配动态路由 需要加上规则 不然无法匹配
avalon.router.add(route.path, function() { for(var i in self.routes) { var args = self.routes[i]['path'].match(this.regexp) if(args) { let route = self.routes[i] } } if(!route) return
麻烦问下页面组件\普通组件样式如何设置?
你好,我想知道知道这个demo里面有没有 类似vue里面的手动路由跳转带参数 比如vue里面的跳转
this.$router.replace({path:'/regist1'})或者this.$router.push({name:'login'});比如手动跳转里还可以配参数的
this.$router.replace({path:'/regist1',querry:""})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.