Jul 14, 2024
vue create <app-name>
.vue create my-app
package.json
cd my-app
npm run serve
http://localhost:8080
)div
with id app
for Vue mounting.#app
.npm run build
dist
directory):
chunk-vendors.js
: Vendor librariesapp.js
: Application codeapp.css
: CSSdist
directory to a static file server.serve
NPM package to preview production build locally:
serve -s dist