yarn install
yarn serve
yarn build
yarn lint
vue.config.jsを追加してポート番号を変更する
module.exports = {
devServer: {
port: 3000,
disableHostCheck: true,
},
};
yarn install
yarn serve
yarn build
yarn lint
vue.config.jsを追加してポート番号を変更する
module.exports = {
devServer: {
port: 3000,
disableHostCheck: true,
},
};
http://localhost:8080/
でサーバーが立ち上がらない。
■環境
yarn:v1.22.5
@vue/cli 4.5.8
■状況
npmではなく、yarnを利用して環境構築。
cd sample-vue-projectで移動後、yarn serveでサーバーを立ち上げる。
Chromeでは「このサイトにアクセスできません localhost で接続が拒否されました。」となっている。
[vagrant@localhost sample-vue-project]$ yarn serve
yarn run v1.22.5
$ vue-cli-service serve
INFO Starting development server...
98% after emitting CopyPlugin
DONE Compiled successfully in 22600ms 12:17:46
App running at:
- Local: http://localhost:8080/
- Network: http://〇〇:8080/
Note that the development build is not optimized.
To create a production build, run yarn build.
サーバーが立ち上がらない
ターミナルにも何も反映されないため、http://localhost:8080/
に全く接続できていない。
検討中
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.