vue
1241461622
这个作者很懒,什么都没留下…
展开
-
vue中引入远程的js文件
vue js components: { //引入外链中的js 'remote-js': { render(createElement) { return createElement('script', { attrs: { type: 'text/javascript', ...原创 2018-03-07 21:44:16 · 1580 阅读 · 0 评论 -
Vue-cli快速上手文档整理
快速构建项目链接 项目结构分析原创 2018-03-07 21:45:55 · 1045 阅读 · 0 评论 -
vue+router
install ‘npm install vue-router’router.jsimport Login from './components/login/Login.vue'import Home from './components/Home.vue'//系统管理import Manager from './components/systemManagemen...原创 2018-03-07 21:46:33 · 191 阅读 · 0 评论 -
vue+Axios
Axios中文文档链接install $ npm install axios api.jsimport axios from '../common/js/http';let url = '/api';export const reLabelKey = params => { return axios.get(`${url}/mrjy/video/v...原创 2018-03-07 21:47:10 · 261 阅读 · 0 评论 -
vuex安装与使用
install ‘cnpm install vuex –save’store.jsexport let state = { count: 1}export let mutations = { increment(state) { // 变更状态 state.count++ }, add(state, n...原创 2018-03-07 21:48:05 · 2812 阅读 · 0 评论 -
webpck不能编译这个多行文本溢出属性-webkit-box-orient: vertical,自动隐藏
optimize-css-assets-webpack-plugin这个插件的问题注释掉webpack.prod.conf.js中下面的代码new OptimizeCSSPlugin({ cssProcessorOptions: config.build.productionSourceMap ? { safe: true, map: { inline: false } }...原创 2018-04-12 16:19:35 · 1413 阅读 · 1 评论