우도비
How to change port in vue webpack template?!
vue init webpack-simple 으로 만든 템플릿만든후 테스트 서버 포트변경하는 방법 When using the webpack-simple template, you can add a "port" property to the devServer object in webpack.config.js and assign it to whatever value you want, like so:devServer: { historyApiFallback: true, noInfo: true, port: 9080 },
javascript/vue.js
2017. 12. 6. 09:49
Dealing With Templates in Vue.js 2.0
Hello, {{ name }}!', props: ['name'], }); In JavaScript, strings aren't allowed to span over multiple lines. If you want to give your template some room to breath, you can use template literals. // greeter.js Vue.component('greeter', { template: ` Hello, {{ name }}! `, props: ['name'], }); You could also define the template in a separate file if..
javascript
2017. 7. 18. 17:29