]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commit
feat: use package.json imports instead of `@` as alias to `src`
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 26 Dec 2023 07:07:33 +0000 (15:07 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 26 Dec 2023 07:07:33 +0000 (15:07 +0800)
commit46791d715e53f7e442e0c34f5e922d63dbe77f9a
treea6b5f1f6b05db922fb11b252897c73cb7b8b6932
parentb1505e468ce1f15ea568beff1c19f865f2c2e0fa
feat: use package.json imports instead of `@` as alias to `src`

See reasons at https://github.com/epicweb-dev/epic-stack/blob/main/docs/decisions/031-imports.md
and https://github.com/vuejs/core/issues/9919

Pending https://github.com/vuejs/core/issues/9919 to be fixed
Pending https://github.com/microsoft/TypeScript/pull/55015 to be released
template/base/jsconfig.json
template/base/package.json
template/base/vite.config.js.ejs
template/code/router/src/App.vue
template/code/typescript-router/src/App.vue
template/config/cypress-ct/cypress/support/component.js
template/config/cypress-ct/cypress/support/component.ts
template/tsconfig/base/tsconfig.app.json
template/tsconfig/nightwatch-ct/tsconfig.app.json