yarn serve
yarn build [项目名称]
yarn build:all
脚本内容需要根据打包目录正确添加,大佬可循环获取
node server/index.js
然后根据提示,打开某个页面。
打包只能一个文件一个文件打包,好处是每一个项目是单独的一个文件夹 如果直接打包,你会发现左右的页面都在dist内(outputDir 输出的文件夹是静态唯一的),虽然不影响开发,但是如果单独的一个页面是一个完整的项目的话,这样就不好区分了。
vue多页面项目调研
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.